|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.channels.error.ErrorCode
public class ErrorCode
Error codes specific to the CError channel.
Field Summary | |
---|---|
static ErrorCode |
CHANNEL_AUTHORIZATION_EXCEPTION
Error code representing failure to render due to lack of authorization. |
static ErrorCode |
CHANNEL_MISSING_EXCEPTION
Error code representing the channel being just plain missing. |
private static ErrorCode[] |
codeArray
|
private int |
codeNumber
Integer representing error code. |
static ErrorCode |
GENERAL_ERROR
Generic error code |
private java.lang.String |
label
String label suggesting meaning of error code. |
private boolean |
refreshable
True if channel refresh is an appropriate response to this error, false otherwise. |
static ErrorCode |
RENDER_TIME_EXCEPTION
Error code for failure during rendering. |
static ErrorCode |
SET_PCS_EXCEPTION
Error code representing failure when framework attempts to set channel portal control structures. |
static ErrorCode |
SET_RUNTIME_DATA_EXCEPTION
Error code for errors at time runtime data is set. |
static ErrorCode |
SET_STATIC_DATA_EXCEPTION
Error code for errors at time static data is set |
static ErrorCode |
TIMEOUT_EXCEPTION
Error code for channels that fail to complete rendering during allotted time. |
static ErrorCode |
UNKNOWN_ERROR
Generic error code |
Constructor Summary | |
---|---|
private |
ErrorCode(java.lang.String label,
int codeNumber,
boolean refreshable)
Private constructor. |
Method Summary | |
---|---|
static ErrorCode |
codeForInt(int codeNum)
Obtain the ErrorCode for the given code number, or null if the code number does not correspond to an error code. |
int |
getCode()
|
java.lang.String |
getLabel()
|
boolean |
isRefreshAllowed()
Is this ErrorCode representative of a problem to which channel refresh would be an appropriate response. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ErrorCode UNKNOWN_ERROR
public static final ErrorCode GENERAL_ERROR
public static final ErrorCode RENDER_TIME_EXCEPTION
public static final ErrorCode SET_STATIC_DATA_EXCEPTION
public static final ErrorCode SET_RUNTIME_DATA_EXCEPTION
public static final ErrorCode TIMEOUT_EXCEPTION
public static final ErrorCode SET_PCS_EXCEPTION
public static final ErrorCode CHANNEL_AUTHORIZATION_EXCEPTION
public static final ErrorCode CHANNEL_MISSING_EXCEPTION
private static ErrorCode[] codeArray
private final int codeNumber
private final java.lang.String label
private boolean refreshable
Constructor Detail |
---|
private ErrorCode(java.lang.String label, int codeNumber, boolean refreshable)
label
- - briefly describes error typecodeNumber
- - integer representing error typerefreshable
- - whether refresh is appropriate responseMethod Detail |
---|
public static ErrorCode codeForInt(int codeNum)
codeNum
-
public int getCode()
public java.lang.String getLabel()
public boolean isRefreshAllowed()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |