public class IntegrationException extends RuntimeException
Constructor and Description |
---|
IntegrationException(ErrorExtEnum error)
Creates new integration exception with specified error code.
|
IntegrationException(ErrorExtEnum error,
String msg)
Creates new integration exception with specified error code and message.
|
IntegrationException(ErrorExtEnum error,
String msg,
Throwable t)
Creates new integration exception with specified error code, message and exception.
|
Modifier and Type | Method and Description |
---|---|
ErrorExtEnum |
getError()
Gets the error code.
|
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IntegrationException(ErrorExtEnum error)
error
- the error codepublic IntegrationException(ErrorExtEnum error, @Nullable String msg)
error
- the error codemsg
- the messagepublic IntegrationException(ErrorExtEnum error, @Nullable String msg, @Nullable Throwable t)
error
- the error codemsg
- the messaget
- the cause exceptionpublic ErrorExtEnum getError()
public String getMessage()
getMessage
in class Throwable
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.