public class AMQException extends QpidException
Constructor and Description |
---|
AMQException(AMQConstant errorCode,
boolean isHardError,
String message,
Throwable cause) |
AMQException(AMQConstant errorCode,
String message) |
AMQException(AMQConstant errorCode,
String msg,
Throwable cause)
Constructor for a Protocol Exception
|
Modifier and Type | Method and Description |
---|---|
AMQException |
cloneForCurrentThread()
Rethrown this exception as a new exception.
|
AMQConstant |
getErrorCode()
Gets the AMQ protocol exception code associated with this exception.
|
boolean |
isHardError() |
String |
toString() |
clone
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public AMQException(AMQConstant errorCode, String message)
public AMQException(AMQConstant errorCode, String msg, Throwable cause)
msg
- A description of the reason of this exception .errorCode
- A string specifying the error code of this exception.cause
- The linked Execption.public AMQException(AMQConstant errorCode, boolean isHardError, String message, Throwable cause)
public String toString()
toString
in class QpidException
public AMQConstant getErrorCode()
public boolean isHardError()
public AMQException cloneForCurrentThread()
QpidException
cloneForCurrentThread
in class QpidException
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.