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 EAuthError
getError()
String
getLocalizedMessage()
String
getMessage()
-
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
-Throwable
the source-cause of the exception
-
AuthFailedException
public AuthFailedException(EAuthError error)
- Parameters:
error
-EAuthError
the reason of the exception
-
-
Method Detail
-
getError
public EAuthError getError()
- Returns:
EAuthError
the reason of the exception
-
getLocalizedMessage
public String getLocalizedMessage()
- Overrides:
getLocalizedMessage
in classThrowable
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
-