public class ITKCommsException extends ITKMessagingException
ITKTransportTimeoutException
,
Serialized FormACCESS_DENIED_CODE, ACCESS_DENIED_TEXT, DEFAULT_ERROR_CODESYSTEM_OID, INVALID_MESSAGE_CODE, INVALID_MESSAGE_TEXT, NO_ERROR_CODE, PROCESSING_ERROR_NOT_RETRYABLE_CODE, PROCESSING_ERROR_NOT_RETRYABLE_TEXT, PROCESSING_ERROR_RETRYABLE_CODE, PROCESSING_ERROR_RETRYABLE_TEXT
Constructor and Description |
---|
ITKCommsException(String message)
Creates an ITKCommsException with any relevant diagnostic
information about the error - such as the likely cause
|
ITKCommsException(String message,
Throwable cause)
Creates an ITKCommsException that wraps an underlying
Throwable which has been encountered
when sending/receiving a message |
ITKCommsException(Throwable cause)
Creates an ITKCommsException that wraps an underlying
Throwable which has been encountered
when sending/receiving a message |
decodeErrorCode, getErrorCode, getErrorCodeSystem, getErrorId, getLocalizedMessage, getMessage, getRelatedItkTransportProperties, getRelatedMessageProperties, setErrorCode, setErrorCodeSystem, setErrorId, setRelatedItkTransportProperties, setRelatedMessageProperties
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ITKCommsException(String message)
message
- The diagnostic message about the
the error conditionpublic ITKCommsException(Throwable cause)
Throwable
which has been encountered
when sending/receiving a messagecause
- The Throwable
containing
the root causepublic ITKCommsException(String message, Throwable cause)
Throwable
which has been encountered
when sending/receiving a messagemessage
- The diagnostic message about the
the error conditioncause
- The Throwable
containing
the root causeAll content is available under the Open Government Licence, except where otherwise stated
All example source code is available under Apache 2.0, except where otherwise stated