Class SAMLException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.onelogin.saml2.exception.SAMLException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Error, SettingsException, ValidationError, XMLEntityException

public class SAMLException extends Exception
Top-level exception class for the OneLogin SAML client.
See Also:
  • Field Details

  • Constructor Details

    • SAMLException

      public SAMLException(String message)
      Construct a SAMLException with the provided error message.
      Parameters:
      message - The human-readable error message associated with this exception.
    • SAMLException

      public SAMLException(Throwable cause)
      Construct a SAMLException with the provided cause for the exception.
      Parameters:
      cause - The upstream cause of this exception.
    • SAMLException

      public SAMLException(String message, Throwable cause)
      Construct a SAMLException with the provided human-readable error message and upstream cause.
      Parameters:
      message - The human-readable error message associated with this exception.
      cause - The upstream cause associated with this exception.