Class Saml2Error

  • All Implemented Interfaces:
    java.io.Serializable

    @Deprecated
    public class Saml2Error
    extends java.lang.Object
    implements java.io.Serializable
    Deprecated.
    Use Saml2Error instead
    A representation of an SAML 2.0 Error.

    At a minimum, an error response will contain an error code. The commonly used error code are defined in this class or a new codes can be defined in the future as arbitrary strings.

    Since:
    5.2
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Saml2Error​(java.lang.String errorCode, java.lang.String description)
      Deprecated.
      Constructs a Saml2Error using the provided parameters.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()
      Deprecated.
      Returns the error description.
      java.lang.String getErrorCode()
      Deprecated.
      Returns the error code.
      java.lang.String toString()
      Deprecated.
       
      • Methods inherited from class java.lang.Object

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

      • Saml2Error

        public Saml2Error​(java.lang.String errorCode,
                          java.lang.String description)
        Deprecated.
        Constructs a Saml2Error using the provided parameters.
        Parameters:
        errorCode - the error code
        description - the error description
    • Method Detail

      • getErrorCode

        public final java.lang.String getErrorCode()
        Deprecated.
        Returns the error code.
        Returns:
        the error code
      • getDescription

        public final java.lang.String getDescription()
        Deprecated.
        Returns the error description.
        Returns:
        the error description
      • toString

        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object