Package lumis.portal.authentication
Class AccessError
- java.lang.Object
-
- lumis.portal.authentication.AccessError
-
public class AccessError extends java.lang.Object
- Since:
- 4.0.9
- Version:
- $Revision$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description static int
CAUSE_NO_ERROR
static int
CAUSE_NO_PAGE_TO_REDIRECT
static int
CAUSE_PAGE_ACCESS_DENIED
-
Constructor Summary
Constructors Constructor Description AccessError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deserialize(java.lang.String id)
Deserializes the error cause.int
getCause()
Gets the cause of the access error.java.lang.String
getErrorString()
Gets the String Id for the current access error cause.java.lang.String
serialize()
Returns a string containing all the elements involved on the error.void
setCause(int cause)
Sets the cause of the error.
-
-
-
Method Detail
-
setCause
public void setCause(int cause)
Sets the cause of the error.- Parameters:
cause
-- Since:
- 4.0.9
-
getCause
public int getCause()
Gets the cause of the access error.- Returns:
- Since:
- 4.0.9
-
serialize
public java.lang.String serialize()
Returns a string containing all the elements involved on the error. The string is composed of the cause + ";" + assosicatedID + ";" isGuest- Returns:
- Since:
- 4.0.9
-
deserialize
public void deserialize(java.lang.String id)
Deserializes the error cause.- Parameters:
id
-- Since:
- 4.0.9
-
getErrorString
public java.lang.String getErrorString()
Gets the String Id for the current access error cause.- Returns:
- Since:
- 4.0.9
-
-