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(String reason)
Constructs an
InvalidClientIDException with the specified
reason. |
InvalidClientIDException(String reason,
String errorCode)
Constructs an
InvalidClientIDException with the specified
reason and error code. |
getErrorCode, getLinkedException, setLinkedException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidClientIDException(String reason, 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(String reason)
InvalidClientIDException
with the specified
reason. The error code defaults to null.reason
- a description of the exceptionCopyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.