public class InvalidClientIDException extends JMSException
This exception must be thrown when a client attempts to set a connection's client ID to a value that is rejected by a provider.
Constructor and Description |
---|
InvalidClientIDException(java.lang.String reason)
Constructs an
InvalidClientIDException with the specified reason. |
InvalidClientIDException(java.lang.String reason,
java.lang.String errorCode)
Constructs an
InvalidClientIDException with the specified reason and error code. |
InvalidClientIDException(java.lang.String reason,
java.lang.String errorCode,
java.lang.Exception linkedException)
Constructs an
InvalidClientIDException with the specified reason, error code
and linked exception. |
getErrorCode, getLinkedException, setLinkedException
public InvalidClientIDException(java.lang.String reason, java.lang.String errorCode, java.lang.Exception linkedException)
InvalidClientIDException
with the specified reason, error code
and linked exception.reason
- a description of the exceptionerrorCode
- a string specifying the vendor-specific error codelinkedException
- a linked exceptionpublic InvalidClientIDException(java.lang.String reason, java.lang.String errorCode)
InvalidClientIDException
with the specified reason and error code.reason
- a description of the exceptionerrorCode
- a string specifying the vendor-specific error codepublic InvalidClientIDException(java.lang.String reason)
InvalidClientIDException
with the specified reason. The error code defaults to null.reason
- a description of the exception