| java.lang.Object | |||
| ↳ | java.lang.Throwable | ||
| ↳ | java.lang.Exception | ||
| ↳ | org.mule.api.ConnectionException | ||
Exception thrown when the method annotated with Connect fails to
connect properly.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a new connection exception
| |||||||||||
Create a new connection exception
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Get a code for what went wrong
| |||||||||||
Get a code for what went wrong as provided
by the third party API
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
| |||||||||||
Create a new connection exception
| code | Code describing what went wrong. Use ConnectionExceptionCode.UNKNOWN for unexpected problems. |
|---|---|
| thirdPartyCode | Code as provided by the third party API |
| message | Message describing what went wrong |
Create a new connection exception
| code | Code describing what went wrong. Use ConnectionExceptionCode.UNKNOWN for unexpected problems. |
|---|---|
| thirdPartyCode | Code as provided by the third party API |
| message | Message describing what went wrong |
| throwable | Inner exception |
Get a code for what went wrong as provided by the third party API