Class QpidException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    AMQException

    public class QpidException
    extends java.lang.Exception
    AMQException forms the root exception of all exceptions relating to the AMQ protocol. It provides space to associate a required AMQ error code with the exception, which is a numeric value, with a meaning defined by the protocol.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      QpidException​(java.lang.String msg)  
      QpidException​(java.lang.String msg, java.lang.Throwable cause)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      QpidException clone()  
      QpidException cloneForCurrentThread()
      Rethrown this exception as a new exception.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • QpidException

        public QpidException​(java.lang.String msg)
      • QpidException

        public QpidException​(java.lang.String msg,
                             java.lang.Throwable cause)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable
      • cloneForCurrentThread

        public QpidException cloneForCurrentThread()
        Rethrown this exception as a new exception. Attempt to create a new exception of the same class if they have the default constructor of: {String, Throwable}.
        Returns:
        cloned exception
      • clone

        public QpidException clone()
        Overrides:
        clone in class java.lang.Object