- create
Creates an error message given an error code and cause.
- getErrorCode
Returns the error code of the error.
- getFullMessage
Gets a string representation of the entire stack trace of error messages (if
they were provided) sta
- getMessage
Returns an error description formatted with the related objects if needed. This
call is equivalent t
- getChildErrorMessage
Returns an error message (if any) that was returned from a deeper method call.
So the topmost error
- wrap
Wraps this error message into a new one that is returned as a parent error
message. A parent message
- getCause
Returns throwable that is cause of the error if any.
- getMessageTemplate
Returns an error description which may contain message format patterns.
- getRelatedObjects
Returns objects (if any) that were provided to be formatted with the error
description. Objects are
- getType
Returns the type of the error (whether it's a warning or an error).
- hasChildErrorMessage
Says if this error message object has got a child error message.
- setChildErrorMessage
Sets a child error message for this one.