| Package | Description |
|---|---|
| org.mule.runtime.api.connection | |
| org.mule.runtime.api.connection.serialization | |
| org.mule.runtime.api.interception | |
| org.mule.runtime.api.message |
| Modifier and Type | Method and Description |
|---|---|
Optional<ErrorType> |
ConnectionValidationResult.getErrorType() |
Optional<ErrorType> |
ConnectionException.getErrorType() |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionValidationResult |
ConnectionValidationResult.failure(String message,
ErrorType errorType,
Exception exception) |
| Constructor and Description |
|---|
ConnectionException(String message,
Throwable cause,
ErrorType errorType)
|
ConnectionException(String message,
Throwable cause,
ErrorType errorType,
Object connection)
|
| Modifier and Type | Method and Description |
|---|---|
ErrorType |
ErrorTypeSerializer.deserialize(String errorType)
Deserializes a JSON representation of an
ErrorType, to an actual instance of it. |
| Modifier and Type | Method and Description |
|---|---|
String |
ErrorTypeSerializer.serialize(ErrorType errorType)
Serializes an
ErrorType into JSON |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<InterceptionEvent> |
InterceptionAction.fail(ErrorType errorType)
Interrupts the current interception chain, not running the next
interceptors in the chain and
the intercepted component. |
| Modifier and Type | Method and Description |
|---|---|
ErrorType |
Error.getErrorType()
Returns the type of the error.
|
ErrorType |
ErrorType.getParentErrorType()
An error can be an specific type of a more general error type in which case it must return the
general error as result of calling
getParentErrorType |
Copyright © 2017 MuleSoft, Inc.. All rights reserved.