|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.mule.api.ConnectionException
public class ConnectionException
Exception thrown when connect method in cloud connectors fails to connect properly.
Constructor Summary | |
---|---|
ConnectionException(ConnectionExceptionCode code,
String thirdPartyCode,
String message)
Create a new connection exception |
|
ConnectionException(ConnectionExceptionCode code,
String thirdPartyCode,
String message,
Throwable throwable)
Create a new connection exception |
Method Summary | |
---|---|
ConnectionExceptionCode |
getCode()
Get a code for what went wrong |
String |
getThirdPartyCode()
Get a code for what went wrong as provided by the third party API |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConnectionException(ConnectionExceptionCode code, String thirdPartyCode, String message)
code
- Code describing what went wrong. Use ConnectionExceptionCode
for unexpected problems.thirdPartyCode
- Code as provided by the third party APImessage
- Message describing what went wrongpublic ConnectionException(ConnectionExceptionCode code, String thirdPartyCode, String message, Throwable throwable)
code
- Code describing what went wrong. Use ConnectionExceptionCode
for unexpected problems.thirdPartyCode
- Code as provided by the third party APIthrowable
- Inner exceptionmessage
- Message describing what went wrongMethod Detail |
---|
public ConnectionExceptionCode getCode()
ConnectionExceptionCode
public String getThirdPartyCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |