javax.jms
Class JMSSecurityException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.jms.JMSException
              extended byjavax.jms.JMSSecurityException
All Implemented Interfaces:
Serializable

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.

Version:
$Revision: 1.1 $
Author:
Chris Kimpton (chris@kimptoc.net)
See Also:
Serialized Form

Constructor Summary
JMSSecurityException(String reason)
          Construct a JMSSecurityException with reason and with error code defaulting to null
JMSSecurityException(String reason, String errorCode)
          Construct a JMSSecurityException with reason and error code for exception
 
Methods inherited from class javax.jms.JMSException
getErrorCode, getLinkedException, setLinkedException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JMSSecurityException

public JMSSecurityException(String reason,
                            String errorCode)
Construct a JMSSecurityException with reason and error code for exception


JMSSecurityException

public JMSSecurityException(String reason)
Construct a JMSSecurityException with reason and with error code defaulting to null



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.