Class SaslSystemException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- javax.security.sasl.SaslException
-
- org.apache.qpid.protonj2.engine.sasl.SaslSystemException
-
- All Implemented Interfaces:
java.io.Serializable
public class SaslSystemException extends javax.security.sasl.SaslException
Indicates that a SASL handshake has failed with asys
,sys-perm
, orsys-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.
-
-
-
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.
-
-