public class AccessError extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CAUSE_NO_ERROR |
static int |
CAUSE_NO_PAGE_TO_REDIRECT |
static int |
CAUSE_PAGE_ACCESS_DENIED |
Constructor and Description |
---|
AccessError() |
Modifier and Type | Method and 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.
|
public static int CAUSE_NO_ERROR
public static int CAUSE_NO_PAGE_TO_REDIRECT
public static int CAUSE_PAGE_ACCESS_DENIED
public void setCause(int cause)
cause
- public int getCause()
public String serialize()
public void deserialize(String id)
id
- public String getErrorString()
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.