Package de.xima.fc.com.auth
Class AuthFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.xima.fc.com.auth.AuthFailedException
-
- All Implemented Interfaces:
Serializable
public class AuthFailedException extends Exception
Exception which is thrown when an authentication-error occurs- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthFailedException(EAuthError error)AuthFailedException(Throwable ex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EAuthErrorgetError()StringgetLocalizedMessage()StringgetMessage()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AuthFailedException
public AuthFailedException(Throwable ex)
- Parameters:
ex-Throwablethe source-cause of the exception
-
AuthFailedException
public AuthFailedException(EAuthError error)
- Parameters:
error-EAuthErrorthe reason of the exception
-
-
Method Detail
-
getError
public EAuthError getError()
- Returns:
EAuthErrorthe reason of the exception
-
getLocalizedMessage
public String getLocalizedMessage()
- Overrides:
getLocalizedMessagein classThrowable
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
-