org.apache.qpid
Class AMQProtocolException

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

public class AMQProtocolException
extends AMQException

See Also:
Serialized Form

Constructor Summary
AMQProtocolException(AMQConstant errorCode, String msg, Throwable cause)
          Constructor for a Protocol Exception
 
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

AMQProtocolException

public AMQProtocolException(AMQConstant errorCode,
                            String msg,
                            Throwable cause)
Constructor for a Protocol Exception

This is the only provided constructor and the parameters have to be set to null when they are unknown.

Parameters:
msg - A description of the reason of this exception .
errorCode - A string specifyin the error code of this exception.
cause - The linked Execption.


Licensed to the Apache Software Foundation