org.activemath.webapp.base.external
Class ExternalAuthenticationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.activemath.webapp.base.external.ExternalAuthenticationException
- All Implemented Interfaces:
- Serializable
public class ExternalAuthenticationException
- extends Exception
Indicates external authentication error.
Contains error code so cause of failure can be reported nicely to the user.
- See Also:
- Serialized Form
SYSTEM_ERROR
public static final int SYSTEM_ERROR
- See Also:
- Constant Field Values
CONNECTION_ERROR
public static final int CONNECTION_ERROR
- See Also:
- Constant Field Values
ACCESS_FORBIDDEN
public static final int ACCESS_FORBIDDEN
- See Also:
- Constant Field Values
TICKET_INVALID
public static final int TICKET_INVALID
- See Also:
- Constant Field Values
ExternalAuthenticationException
public ExternalAuthenticationException(String errorMsg)
ExternalAuthenticationException
public ExternalAuthenticationException(String errorMsg,
int errorCode)
ExternalAuthenticationException
public ExternalAuthenticationException(Throwable e)
getErrorCode
public int getErrorCode()
getErrorCodeString
public String getErrorCodeString()
toString
public String toString()
- Overrides:
toString in class Throwable