Class QpidException

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    AMQException

    public class QpidException
    extends 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 Detail

      • QpidException

        public QpidException​(String msg)
    • Method Detail

      • 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