public class KualiExceptionIncidentServiceImpl extends KualiFeedbackServiceImpl implements KualiExceptionIncidentService
Modifier and Type | Field and Description |
---|---|
static String |
REPORT_MAIL_LIST
This property must be defined in the base configuration file for specifying
the mailing list for the report to be sent.
|
Constructor and Description |
---|
KualiExceptionIncidentServiceImpl() |
Modifier and Type | Method and Description |
---|---|
KualiExceptionIncident |
getExceptionIncident(Exception exception,
Map<String,String> properties)
This overridden method create an instance of the KualiExceptionIncident.
|
KualiExceptionIncident |
getExceptionIncident(Map<String,String> properties)
This overridden method create an instance of ExceptionIncident from list of
name-value pairs as exception incident information.
|
String |
getIncidentMailingList()
Returns the incident report mailing list.
|
protected String |
getToAddressesPropertyName() |
void |
report(KualiExceptionIncident exceptionIncident)
This overridden method send email to the specified list of addresses.
|
void |
setIncidentMailingList(String incidentMailingList)
Sets the incident report mailing list.
|
List<String> |
split(String s,
String token)
This method first separate a composite string of the format
"string token string".
|
createMailMessage, emailReport, getBccAddresses, getCcAddresses, getFromAddress, getMailer, getMessageTemplate, getToAddresses, sendFeedback, setMailer, setMessageTemplate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
emailReport, sendFeedback
public static final String REPORT_MAIL_LIST
Example:
a@y,b@z
public KualiExceptionIncidentServiceImpl()
protected String getToAddressesPropertyName()
getToAddressesPropertyName
in class KualiFeedbackServiceImpl
public void report(KualiExceptionIncident exceptionIncident) throws Exception
report
in interface KualiExceptionIncidentService
Exception
KualiExceptionIncidentService.report(org.kuali.rice.krad.exception.KualiExceptionIncident)
public List<String> split(String s, String token)
Example: 1,2,a,b where ',' is the token
s
- token
- public KualiExceptionIncident getExceptionIncident(Exception exception, Map<String,String> properties)
getExceptionIncident
in interface KualiExceptionIncidentService
properties
- Additional information when the exception is thrown
example:
KualiExceptionIncidentService.getExceptionIncident(
java.lang.Exception,java.util.Map)
public KualiExceptionIncident getExceptionIncident(Map<String,String> properties)
getExceptionIncident
in interface KualiExceptionIncidentService
properties
- The list of name-value pairs containing the thrown exception
informationKualiExceptionIncidentService.getExceptionIncident(java.util.Map)
public String getIncidentMailingList()
public void setIncidentMailingList(String incidentMailingList)
incidentMailingList
- the incidentMailingList to setCopyright © 2005–2016 The Kuali Foundation. All rights reserved.