public class InvalidDestinationRuntimeException extends JMSRuntimeException
InvalidDestinationException
to be thrown.Constructor and Description |
---|
InvalidDestinationRuntimeException(java.lang.String detailMessage)
Constructs a
InvalidDestinationRuntimeException with the specified detail message |
InvalidDestinationRuntimeException(java.lang.String detailMessage,
java.lang.String errorCode)
Constructs a
InvalidDestinationRuntimeException with the specified detail message
and error code. |
InvalidDestinationRuntimeException(java.lang.String detailMessage,
java.lang.String errorCode,
java.lang.Throwable cause)
Constructs a
InvalidDestinationRuntimeException with the specified detail message,
error code and cause |
getErrorCode
public InvalidDestinationRuntimeException(java.lang.String detailMessage)
InvalidDestinationRuntimeException
with the specified detail messagedetailMessage
- a description of the exceptionpublic InvalidDestinationRuntimeException(java.lang.String detailMessage, java.lang.String errorCode)
InvalidDestinationRuntimeException
with the specified detail message
and error code.detailMessage
- a description of the exceptionerrorCode
- a provider-specific error codepublic InvalidDestinationRuntimeException(java.lang.String detailMessage, java.lang.String errorCode, java.lang.Throwable cause)
InvalidDestinationRuntimeException
with the specified detail message,
error code and causedetailMessage
- a description of the exceptionerrorCode
- a provider-specific error codecause
- the underlying cause of this exception