|
||||||||||
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(java.lang.String header,
java.lang.String basicErrorMessage,
java.lang.String detailedErrorMessage)
Constructor that creates IncidentInfo with all the provided descriptions |
|
IncidentInfo(java.lang.String header,
java.lang.String basicErrorMessage,
java.lang.String detailedErrorMessage,
java.lang.Throwable errorException)
Main constructor that adds all the information to IncidentInfo |
|
IncidentInfo(java.lang.String header,
java.lang.Throwable errorException)
Constructor that creates IncidentInfo retreiving all the
information from the provided Throwable |
Method Summary | |
---|---|
java.lang.String |
getBasicErrorMessage()
Get the basic error description |
java.lang.String |
getDetailedErrorMessage()
Get the detailed error description |
java.lang.Throwable |
getErrorException()
Get an exception that contains some additional information about the error if provided. |
java.lang.String |
getHeader()
Get the current header string |
void |
setBasicErrorMessage(java.lang.String basicErrorMessage)
Set the current basic error description |
void |
setDetailedErrorMessage(java.lang.String detailedErrorMessage)
Set the detailed description for this error |
void |
setErrorException(java.lang.Throwable errorException)
Set the exception that may contain additional information about the error. |
void |
setHeader(java.lang.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(java.lang.String header, java.lang.String basicErrorMessage, java.lang.String detailedErrorMessage, java.lang.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(java.lang.String header, java.lang.String basicErrorMessage, java.lang.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 problempublic IncidentInfo(java.lang.String header, java.lang.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 incidentMethod Detail |
---|
public java.lang.String getHeader()
public void setHeader(java.lang.String header)
header
- public java.lang.String getBasicErrorMessage()
public void setBasicErrorMessage(java.lang.String basicErrorMessage)
basicErrorMessage
- new basic error descriptionpublic java.lang.String getDetailedErrorMessage()
public void setDetailedErrorMessage(java.lang.String detailedErrorMessage)
detailedErrorMessage
- new detailed descriptionpublic java.lang.Throwable getErrorException()
public void setErrorException(java.lang.Throwable errorException)
errorException
- new Throwable
ot null
if there is no Throwable
related to this error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |