TypedException is a Public Application Programming Interface (API), which the users can implement to create a user defined exception class. This interface helps to generate context related error messages rather than generic error messages. The user exception that implements TypedException can be thrown from the JSP incase of any error and the desktopservlet can display the proper error template according to the exception type set in the user exception.
The exception types defined in the TypedException interface are:
public static final String NON_EDITABLE_TYPE = "nonEditableChannel";
public static final String UNKNOWN_CHANNEL_TYPE = "unknownChannel";
public static final String NO_PRIVILEGE_TYPE = "noPrivilege";
public static final String SESSION_TYPE = "session";
public static final String UNKNOWN_TYPE = "unknown";
public static final String SESSION_TIMED_OUT = "sessionTimedOut";