public class AMQProtocolException extends AMQException
Constructor and Description |
---|
AMQProtocolException(AMQConstant errorCode,
String msg,
Throwable cause)
Constructor for a Protocol Exception
|
cloneForCurrentThread, getErrorCode, isHardError, toString
clone
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public AMQProtocolException(AMQConstant errorCode, String msg, Throwable cause)
This is the only provided constructor and the parameters have to be set to null when they are unknown.
msg
- A description of the reason of this exception .errorCode
- A string specifyin the error code of this exception.cause
- The linked Execption.Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.