public class JMSSecurityException extends JMSException
This exception must be thrown when a provider rejects a user name/password submitted by a client. It may also be thrown for any case where a security restriction prevents a method from completing.
| Constructor and Description |
|---|
JMSSecurityException(java.lang.String reason)
Constructs a
JMSSecurityException with the specified reason. |
JMSSecurityException(java.lang.String reason, java.lang.String errorCode)
Constructs a
JMSSecurityException with the specified reason and error code. |
getErrorCode, getLinkedException, setLinkedExceptionpublic JMSSecurityException(java.lang.String reason,
java.lang.String errorCode)
JMSSecurityException with the specified reason and error code.reason - a description of the exceptionerrorCode - a string specifying the vendor-specific error codepublic JMSSecurityException(java.lang.String reason)
JMSSecurityException with the specified reason. The error code defaults to null.reason - a description of the exception