Package org.ldaptive.auth
Interface AccountState.Error
-
- All Known Implementing Classes:
ActiveDirectoryAccountState.Error,EDirectoryAccountState.Error,FreeIPAAccountState.Error,PasswordExpirationAccountState.Error,PasswordPolicyControl.Error
- Enclosing class:
- AccountState
public static interface AccountState.ErrorContains error information for an account state.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetCode()Returns the error code.StringgetMessage()Returns the error message.voidthrowSecurityException()Throws the LoginException that best maps to this error.
-
-
-
Method Detail
-
getCode
int getCode()
Returns the error code.- Returns:
- error code
-
getMessage
String getMessage()
Returns the error message.- Returns:
- error message
-
throwSecurityException
void throwSecurityException() throws LoginExceptionThrows the LoginException that best maps to this error.- Throws:
LoginException- for this account state error
-
-