Package marauroa.client
Class LoginFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
marauroa.client.LoginFailedException
- All Implemented Interfaces:
Serializable
this exception is thrown when a login failed for example because of a wrong password.
- See Also:
- Serialized Form
-
Constructor Summary
ConstructorDescriptionLoginFailedException(String reason)
creates a new LoginFailedExceptionLoginFailedException(String reason, MessageS2CLoginNACK.Reasons reasonCode)
creates a new LoginFailedException -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LoginFailedException
creates a new LoginFailedException- Parameters:
reason
- a human readable error message
-
LoginFailedException
creates a new LoginFailedException- Parameters:
reason
- a human readable error messagereasonCode
- enumeration instance
-
-
Method Details
-
getReason
gets the reason- Returns:
- Reason
-