public interface KualiExceptionIncident
| Modifier and Type | Field and Description | 
|---|---|
| static String | COMPONENT_NAMEForm that threw the exception | 
| static String | DESCRIPTIONAdditional message from user | 
| static String | DISPLAY_MESSAGEThe error message to be displayed | 
| static String | DOCUMENT_IDDocument id. | 
| static String | EXCEPTION_HIDE_INCIDENT_REPORTBoolean value for incident report display | 
| static String | EXCEPTION_MESSAGEThe error message | 
| static String | EXCEPTION_REPORT_MESSAGEThe error report message | 
| static String | EXCEPTION_REPORT_SUBJECTThe error report subject built from current settings and caught exception | 
| static String | STACK_TRACEDetail message not for displaying | 
| static String | USER_EMAILSession user email address | 
| static String | USER_NAMESession user name | 
| static String | UUIDSession user login name | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getDisplayMessage(Exception exception)This method checks the exception (set during construction) and return errror
 message if it's Kuali type of exception (defined by the list of exception names). | 
| String | getProperty(String key)This method get the specified key value from the implementing class. | 
| Map<String,String> | toProperties()This method return list of {key,value} pairs that each key is the constants
 defined in this interface. | 
static final String EXCEPTION_REPORT_SUBJECT
Value is exceptionReportSubject
static final String EXCEPTION_HIDE_INCIDENT_REPORT
static final String EXCEPTION_REPORT_MESSAGE
Value is exceptionReportMessage
static final String EXCEPTION_MESSAGE
Value is exceptionMessage
static final String DISPLAY_MESSAGE
Value is displayMessage
static final String DESCRIPTION
Value is description
static final String DOCUMENT_ID
Value is documentId
static final String USER_EMAIL
Value is userEmail
static final String UUID
Value is principalName
static final String USER_NAME
Value is userName
static final String STACK_TRACE
Value is stackTrace
static final String COMPONENT_NAME
Value is componentName
Map<String,String> toProperties()
Example:
 
 documentId, 2942084
 userEmail, someone@somewhere
 userName, some name
 componentFormName, Form that threw exception name
 exceptionMessage, Error message from exception
 displayMessage, Either exception error message or generic exception error message
 stackTrace, Exception stack trace here
 
String getDisplayMessage(Exception exception)
The - caught exceptionString getProperty(String key)
key - Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.