public static class JErrorDialog.IncidentInfo extends Object implements Serializable
Constructor and Description |
---|
IncidentInfo(String aHeader,
String aBasicErrorMessage,
String aDetailedErrorMessage)
Creates a new IncidentInfo instance.
|
IncidentInfo(String aHeader,
String aBasicErrorMessage,
String aDetailedErrorMessage,
Throwable aErrorException)
Main constructor that adds all the information to IncidentInfo
|
IncidentInfo(String aHeader,
Throwable aErrorException)
Creates a new IncidentInfo instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getBasicErrorMessage()
Get the basic error description
|
String |
getDetailedErrorMessage()
Get the detailed error description
|
Throwable |
getErrorException()
Get an exception that contains some additional information about the
error if provided.
|
String |
getHeader()
Get the current header string
|
public IncidentInfo(String aHeader, String aBasicErrorMessage, String aDetailedErrorMessage)
aHeader
- the header of this incident;aBasicErrorMessage
- the short/human readable version of this incident;aDetailedErrorMessage
- the detailed version of this incident (stack trace).public IncidentInfo(String aHeader, String aBasicErrorMessage, String aDetailedErrorMessage, Throwable aErrorException)
aHeader
- the header of this incident;aBasicErrorMessage
- the short/human readable version of this incident;aDetailedErrorMessage
- the detailed version of this incident (stack trace);aErrorException
- the exception to show in this incident.public String getBasicErrorMessage()
public String getDetailedErrorMessage()
public Throwable getErrorException()
public String getHeader()
Copyright © 2015 L'Xtreme IT consultancy. All rights reserved.