@NoImplement public interface Error extends Serializable
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
The Java exception thrown by the failing component.
|
List<Error> |
getChildErrors()
Lists any child
Errors , if any. |
String |
getDescription()
Concise description of the error.
|
String |
getDetailedDescription()
Detailed description of the error.
|
Message |
getErrorMessage()
This is an error response generated by the component that failed to process the message.
|
ErrorType |
getErrorType()
Returns the type of the error.
|
String getDescription()
getDetailedDescription()
String getDetailedDescription()
ErrorType getErrorType()
ErrorType
.Throwable getCause()
Message getErrorMessage()
List<Error> getChildErrors()
Errors
, if any.
For instance, the scatter-gather router may throw an error aggregating all of its routes errors as children.
Not all failing components aggregate errors so this may return an empty collection.Copyright © 2018. All rights reserved.