Class SaslSystemException

  • All Implemented Interfaces:
    java.io.Serializable

    public class SaslSystemException
    extends javax.security.sasl.SaslException
    Indicates that a SASL handshake has failed with a sys, sys-perm, or sys-temp outcome code as defined by AMQP Version 1.0, Section 5.3.3.6.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SaslSystemException​(boolean permanent)
      Creates an exception indicating a system error.
      SaslSystemException​(boolean permanent, java.lang.String detail)
      Creates an exception indicating a system error with a detail message.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isPermanent()
      Checks if the condition that caused this exception is of a permanent nature.
      • Methods inherited from class javax.security.sasl.SaslException

        getCause, initCause, toString
      • Methods inherited from class java.lang.Throwable

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

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

      • SaslSystemException

        public SaslSystemException​(boolean permanent)
        Creates an exception indicating a system error.
        Parameters:
        permanent - true if the error is permanent and requires (manual) intervention.
      • SaslSystemException

        public SaslSystemException​(boolean permanent,
                                   java.lang.String detail)
        Creates an exception indicating a system error with a detail message.
        Parameters:
        permanent - true if the error is permanent and requires (manual) intervention.
        detail - A message providing details about the cause of the problem.
    • Method Detail

      • isPermanent

        public final boolean isPermanent()
        Checks if the condition that caused this exception is of a permanent nature.
        Returns:
        true if the error condition is permanent.