Class AMQException

    • Constructor Summary

      Constructors 
      Constructor Description
      AMQException​(int errorCode, boolean isHardError, java.lang.String message, java.lang.Throwable cause)  
      AMQException​(int errorCode, java.lang.String message)  
      AMQException​(int errorCode, java.lang.String msg, java.lang.Throwable cause)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      AMQException cloneForCurrentThread()
      Rethrown this exception as a new exception.
      int getErrorCode()  
      boolean isHardError()  
      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

      • AMQException

        public AMQException​(int errorCode,
                            java.lang.String message)
      • AMQException

        public AMQException​(int errorCode,
                            java.lang.String msg,
                            java.lang.Throwable cause)
      • AMQException

        public AMQException​(int errorCode,
                            boolean isHardError,
                            java.lang.String message,
                            java.lang.Throwable cause)
    • Method Detail

      • getErrorCode

        public int getErrorCode()
      • isHardError

        public boolean isHardError()
      • cloneForCurrentThread

        public AMQException cloneForCurrentThread()
        Description copied from class: QpidException
        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}.
        Overrides:
        cloneForCurrentThread in class QpidException
        Returns:
        cloned exception