Class SaslSystemException

All Implemented Interfaces:
Serializable

public class SaslSystemException extends 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:
  • Constructor Details

    • 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, 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 Details

    • isPermanent

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

      A permanent error should be treated as terminal for transports that implement reconnection logic and the implementation should stop attempting connections.

      Returns:
      true if the error condition is permanent.