public class Saml2Error
extends java.lang.Object
implements java.io.Serializable
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.
Constructor and Description |
---|
Saml2Error(java.lang.String errorCode,
java.lang.String description)
Constructs a
Saml2Error using the provided parameters. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Returns the error description.
|
java.lang.String |
getErrorCode()
Returns the error code.
|
java.lang.String |
toString() |
public Saml2Error(java.lang.String errorCode, java.lang.String description)
Saml2Error
using the provided parameters.errorCode
- the error codedescription
- the error descriptionpublic final java.lang.String getErrorCode()
public final java.lang.String getDescription()
public java.lang.String toString()
toString
in class java.lang.Object