|
swingx Version 2005-08-19 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdesktop.swingx.IncidentInfo
public class IncidentInfo
| Constructor Summary | |
|---|---|
IncidentInfo(String header,
String basicErrorMessage,
String detailedErrorMessage)
Constructor that creates IncidentInfo with all the provided descriptions |
|
IncidentInfo(String header,
String basicErrorMessage,
String detailedErrorMessage,
Throwable errorException)
Main constructor that adds all the information to IncidentInfo |
|
IncidentInfo(String header,
Throwable errorException)
Constructor that creates IncidentInfo retreiving all the
information from the provided Throwable |
|
| Method Summary | |
|---|---|
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. |
Level |
getErrorLevel()
Returns the severity of the Error. |
String |
getHeader()
Get the current header string |
void |
setBasicErrorMessage(String basicErrorMessage)
Set the current basic error description |
void |
setDetailedErrorMessage(String detailedErrorMessage)
Set the detailed description for this error |
void |
setErrorException(Throwable errorException)
Set the exception that may contain additional information about the error. |
void |
setErrorLevel(Level errorLevel)
Sets the error level for this IncidentInfo |
void |
setHeader(String header)
Set the current header string |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IncidentInfo(String header,
String basicErrorMessage,
String detailedErrorMessage,
Throwable errorException)
IncidentInfo
header - Header that will be used as the quick reference for the
incident (e.g. title for a dialog or subject for the incident message)basicErrorMessage - Short description of the given problemdetailedErrorMessage - Full description of the problemerrorException - Throwable that can be used as a source for
additional information such as call stack, thread name, etc.
public IncidentInfo(String header,
String basicErrorMessage,
String detailedErrorMessage)
IncidentInfo with all the provided descriptions
header - Header that will be used as the quick reference for the
incident (e.g. title for a dialog or subject for the incident message)basicErrorMessage - Short description of the given problemdetailedErrorMessage - Full description og the problem
public IncidentInfo(String header,
Throwable errorException)
IncidentInfo retreiving all the
information from the provided Throwable
header - Header that will be used as the quick reference for the
incident (e.g. title for a dialog or subject for the incident message)errorException - Throwable that can be used as a main source of
information about the incident| Method Detail |
|---|
public String getHeader()
public void setHeader(String header)
header - public String getBasicErrorMessage()
public void setBasicErrorMessage(String basicErrorMessage)
basicErrorMessage - new basic error descriptionpublic String getDetailedErrorMessage()
public void setDetailedErrorMessage(String detailedErrorMessage)
detailedErrorMessage - new detailed descriptionpublic Throwable getErrorException()
public void setErrorException(Throwable errorException)
errorException - new Throwable or null
if there is no Throwable related to this errorpublic Level getErrorLevel()
public void setErrorLevel(Level errorLevel)
errorLevel - any Level (Level.SEVERE, Level.WARNING, etc). If null,
then the level will be set to SEVERE.
|
swingx Version 2005-08-19 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||