org.apache.qpid
Class AMQSecurityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.qpid.AMQException
              extended by org.apache.qpid.AMQSecurityException
All Implemented Interfaces:
Serializable

public class AMQSecurityException
extends AMQException

SecurityException encapsulates error code 403, or AMQConstant.ACCESS_REFUSED exceptions relating to the AMQ protocol. It is used to report authorisation failures and security errors.

See Also:
Serialized Form

Constructor Summary
AMQSecurityException()
           
AMQSecurityException(String msg)
           
AMQSecurityException(String msg, Throwable cause)
          Creates an exception with an optional message and optional underlying cause.
 
Method Summary
 
Methods inherited from class org.apache.qpid.AMQException
cloneForCurrentThread, getErrorCode, isHardError, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AMQSecurityException

public AMQSecurityException(String msg,
                            Throwable cause)
Creates an exception with an optional message and optional underlying cause.

Parameters:
msg - The exception message. May be null if not to be set.
cause - The underlying cause of the exception. May be null if not to be set.

AMQSecurityException

public AMQSecurityException(String msg)

AMQSecurityException

public AMQSecurityException()


Licensed to the Apache Software Foundation