Package lumis.portal.authentication
Class AccessError
- java.lang.Object
-
- lumis.portal.authentication.AccessError
-
public class AccessError extends Object
- Since:
- 4.0.9
- Version:
- $Revision: 5769 $ $Date: 2007-02-01 12:00:07 -0200 (Thu, 01 Feb 2007) $
-
-
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(String id)
Deserializes the error cause.int
getCause()
Gets the cause of the access error.String
getErrorString()
Gets the String Id for the current access error cause.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 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(String id)
Deserializes the error cause.- Parameters:
id
-- Since:
- 4.0.9
-
getErrorString
public String getErrorString()
Gets the String Id for the current access error cause.- Returns:
- Since:
- 4.0.9
-
-