public class AMQSecurityException extends AMQException
ErrorCodes.ACCESS_REFUSED exceptions relating to the
AMQ protocol. It is used to report authorisation failures and security errors.| Constructor and Description |
|---|
AMQSecurityException(String msg,
Throwable cause)
Creates an exception with an optional message and optional underlying cause.
|
| Modifier and Type | Method and Description |
|---|---|
AMQSecurityException |
cloneForCurrentThread()
Rethrown this exception as a new exception.
|
getErrorCode, isHardError, toStringcloneaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic AMQSecurityException(String msg, Throwable cause)
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.public AMQSecurityException cloneForCurrentThread()
QpidExceptioncloneForCurrentThread in class AMQExceptionCopyright © 2006–2018 The Apache Software Foundation. All rights reserved.