Class SaslException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.isode.dsapi.util.SaslException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SaslConfigurationException, SaslMappingException

public class SaslException extends Exception
Basic SASL-related exception
Author:
mst
See Also:
  • Constructor Details

    • SaslException

      public SaslException(String message)
      Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Exception.initCause.
      Parameters:
      message - the detail message. The detail message is saved for later retrieval by the Exception.getMessage() method.
    • SaslException

      public SaslException(String message, Throwable cause)
      Constructs a new exception with the specified detail message and cause.

      Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.

      Parameters:
      message - the detail message (which is saved for later retrieval by the Exception.getMessage() method).
      cause - the cause (which is saved for later retrieval by the Exception.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
      Since:
      16.0
  • Method Details

    • toString

      public String toString()
      Returns formated error info.
      Overrides:
      toString in class Throwable
      Returns:
      formated error info