com.unboundid.directory.sdk.http.types
Class AttributeCreateDeniedAuthenticationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.unboundid.directory.sdk.http.types.AuthenticationException
              extended by com.unboundid.directory.sdk.http.types.AttributeCreateDeniedAuthenticationException
All Implemented Interfaces:
java.io.Serializable

public class AttributeCreateDeniedAuthenticationException
extends AuthenticationException

Exception used to indicate authentication failed because policy denied one or more attributes in the registration data.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.unboundid.directory.sdk.http.types.AuthenticationException
ATTRIBUTE_CREATE_DENIED, BAD_CREDENTIALS, CREDENTIALS_EXPIRED, INTERNAL_ERROR, INVALID_CLIENT, INVALID_IDENTITY_PROVIDER, INVALID_REQUEST, INVALID_RESOURCE, OAUTH2_ERROR, RESOURCE_CONFLICT, USER_DISABLED, USER_LOCKED
 
Constructor Summary
AttributeCreateDeniedAuthenticationException(java.lang.String message)
          Constructs a AttributeCreateDeniedAuthenticationException with the specified message.
AttributeCreateDeniedAuthenticationException(java.lang.String message, java.lang.Throwable cause)
          Constructs a AttributeCreateDeniedAuthenticationException with the specified message and root cause.
 
Method Summary
 java.lang.String getErrorCode()
          Retrieve the error code associated with this exception.
 
Methods inherited from class com.unboundid.directory.sdk.http.types.AuthenticationException
addAdditionalInformation, getAdditionalInformation
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeCreateDeniedAuthenticationException

public AttributeCreateDeniedAuthenticationException(java.lang.String message)
Constructs a AttributeCreateDeniedAuthenticationException with the specified message.

Parameters:
message - the detail message

AttributeCreateDeniedAuthenticationException

public AttributeCreateDeniedAuthenticationException(java.lang.String message,
                                                    java.lang.Throwable cause)
Constructs a AttributeCreateDeniedAuthenticationException with the specified message and root cause.

Parameters:
message - the detail message
cause - root cause
Method Detail

getErrorCode

public java.lang.String getErrorCode()
Retrieve the error code associated with this exception.

Specified by:
getErrorCode in class AuthenticationException
Returns:
The error code associated with this exception.