org.jdesktop.swingx
Class IncidentInfo

java.lang.Object
  extended by org.jdesktop.swingx.IncidentInfo

public class IncidentInfo
extends java.lang.Object


Constructor Summary
IncidentInfo(java.lang.String header, java.lang.String basicErrorMessage, java.lang.String detailedErrorMessage)
           
IncidentInfo(java.lang.String header, java.lang.String basicErrorMessage, java.lang.String detailedErrorMesage, java.lang.Throwable errorException)
          Main constructor that adds all the information to IncidentInfo
IncidentInfo(java.lang.String header, java.lang.Throwable errorException)
           
 
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

IncidentInfo

public IncidentInfo(java.lang.String header,
                    java.lang.String basicErrorMessage,
                    java.lang.String detailedErrorMesage,
                    java.lang.Throwable errorException)
Main constructor that adds all the information to IncidentInfo

Parameters:
header -
basicErrorMessage -
detailedErrorMesage -
errorException -

IncidentInfo

public IncidentInfo(java.lang.String header,
                    java.lang.String basicErrorMessage,
                    java.lang.String detailedErrorMessage)

IncidentInfo

public IncidentInfo(java.lang.String header,
                    java.lang.Throwable errorException)
Method Detail

getHeader

public java.lang.String getHeader()
Get the current header string

Returns:
header string

setHeader

public void setHeader(java.lang.String header)
Set the current header string

Parameters:
header -

getBasicErrorMessage

public java.lang.String getBasicErrorMessage()
Get the basic error description

Returns:
basic error description

setBasicErrorMessage

public void setBasicErrorMessage(java.lang.String basicErrorMessage)
Set the current basic error description

Parameters:
basicErrorMessage -

getDetailedErrorMessage

public java.lang.String getDetailedErrorMessage()
Get the detailed error description

Returns:
detailed description

setDetailedErrorMessage

public void setDetailedErrorMessage(java.lang.String detailedErrorMessage)
Set the detailed description for this error

Parameters:
detailedErrorMessage -

getErrorException

public java.lang.Throwable getErrorException()
Get an exception that contains some additional information about the error if provided.

Returns:
exception or null if no exception provided

setErrorException

public void setErrorException(java.lang.Throwable errorException)
Set the exception that may contain additional information about the error.

Parameters:
errorException -


Copyright © 2005 Sun Microsystems All Rights Reserved.