| java.lang.Object org.jasig.portal.channels.CError
CError | public class CError implements IPrivilegedChannel,ICacheable,ICharacterChannel(Code) | | Deprecated legacy stub channel.
CError has been moved to the org.jasig.portal.error package.
This class exists to provide backwards compatibility -- it delegates to
the org.jasig.portal.error.CError channel.
author: andrew.petro@yale.edu version: $Revision: 35594 $ $Date: 2005-04-17 13:55:47 -0700 (Sun, 17 Apr 2005) $ |
Constructor Summary | |
public | CError() Construct an uninitialized instance of the CError channel. | public | CError(int errorCode, Throwable throwable, String channelSubscribeId, IChannel channelInstance) Construct an instance of the Error channel representing a failure to render of
a particular subscribed channel for reason of having thrown a Throwable. | public | CError(int errorCode, String message, String channelSubscribeId, IChannel channelInstance) Instantiate a CError representing a particular channel's failure,
including a message and errorCode, but not a Throwable. | public | CError(int errorCode, Throwable exception, String channelSubscribeId, IChannel channelInstance, String message) Instantiate a CError instance representing the failure of some particular channel,
including an error code, message, and the Throwable. |
AUTHORIZATION_EXCEPTION | final public static int AUTHORIZATION_EXCEPTION(Code) | | |
CHANNEL_AUTHORIZATION_EXCEPTION | final public static int CHANNEL_AUTHORIZATION_EXCEPTION(Code) | | Error code representing failure to render due to lack of authorization.
|
CHANNEL_MISSING_EXCEPTION | final public static int CHANNEL_MISSING_EXCEPTION(Code) | | Error code representing the channel being just plain missing.
|
GENERAL_ERROR | final public static int GENERAL_ERROR(Code) | | Generic error code
|
GENERAL_RENDERING_EXCEPTION | final public static int GENERAL_RENDERING_EXCEPTION(Code) | | |
INTERNAL_TIMEOUT_EXCEPTION | final public static int INTERNAL_TIMEOUT_EXCEPTION(Code) | | |
RENDER_TIME_EXCEPTION | final public static int RENDER_TIME_EXCEPTION(Code) | | Error code for failure during rendering.
|
RESOURCE_MISSING_EXCEPTION | final public static int RESOURCE_MISSING_EXCEPTION(Code) | | |
SET_PCS_EXCEPTION | final public static int SET_PCS_EXCEPTION(Code) | | Error code representing failure when framework attempts to set
channel portal control structures.
|
SET_RUNTIME_DATA_EXCEPTION | final public static int SET_RUNTIME_DATA_EXCEPTION(Code) | | Error code for errors at time runtime data is set.
|
SET_STATIC_DATA_EXCEPTION | final public static int SET_STATIC_DATA_EXCEPTION(Code) | | Error code for errors at time static data is set
|
TIMEOUT_EXCEPTION | final public static int TIMEOUT_EXCEPTION(Code) | | Error code for channels that fail to complete rendering during
allotted time.
|
CError | public CError()(Code) | | Construct an uninitialized instance of the CError channel.
|
CError | public CError(int errorCode, Throwable throwable, String channelSubscribeId, IChannel channelInstance)(Code) | | Construct an instance of the Error channel representing a failure to render of
a particular subscribed channel for reason of having thrown a Throwable.
Parameters: errorCode - - one of the static error codes of this class Parameters: throwable - - cause of failed channel's failure Parameters: channelSubscribeId - - identifies the failed channel Parameters: channelInstance - - the failed channel |
CError | public CError(int errorCode, String message, String channelSubscribeId, IChannel channelInstance)(Code) | | Instantiate a CError representing a particular channel's failure,
including a message and errorCode, but not a Throwable.
Parameters: errorCode - - one of the static error codes of this class Parameters: message - - describes error Parameters: channelSubscribeId - - identifies failed channel Parameters: channelInstance - - failed channel |
CError | public CError(int errorCode, Throwable exception, String channelSubscribeId, IChannel channelInstance, String message)(Code) | | Instantiate a CError instance representing the failure of some particular channel,
including an error code, message, and the Throwable.
Parameters: errorCode - - one of the static error codes of this class Parameters: exception - - thrown by the failed channel Parameters: channelSubscribeId - - identifies failed channel Parameters: channelInstance - - the failed channel instance Parameters: message - - message describing failure |
isCacheValid | public boolean isCacheValid(Object validity)(Code) | | |
setMessage | public void setMessage(String m)(Code) | | Set the failure message.
Parameters: m - - a mesage describing the error. |
|
|