public class ErrorDataBean extends SmartDataBeanImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM Copyright notice field.
|
Constructor and Description |
---|
ErrorDataBean()
This is the default constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getCorrectiveActionMessage()
This method gets the corrective action error message text.
|
java.lang.String | getCorrectiveActionMessage(java.util.Locale loc)
This method gets the corrective action message in the locale specified.
|
java.lang.String | getCorrelationIdentifier()
This method gets the correlation identifier associated with the error.
|
ECMessage | getECCorrectiveActionMessage()
This method gets the corrective ECMessage object associated with the exception.
|
ECMessage | getECMessage()
This method gets the ECMessage object associated with the exception.
|
java.lang.String | getErrorCode()
This method gets the error code if one exists.
|
java.lang.Throwable | getException()
This method gets the actual exception associated with this error.
|
TypedProperty | getExceptionData()
This method gets the user error message data associated with the exception.
|
java.lang.String | getExceptionType()
This method gets the exception type.
|
java.lang.String | getMessage()
This method gets the user error message text.
|
java.lang.String | getMessage(java.util.Locale loc)
This method gets the user error message text.
|
java.lang.String | getMessageKey()
This method gets the exception message key.
|
java.lang.Object[] | getMessageParam()
This method gets the error message parameters.
|
java.lang.String | getOriginatingCommand()
This method gets the command that originated the exception.
|
TypedProperty | getRequestProperties()
This method gets the input properties associated with the error data bean.
|
java.lang.Throwable | getRootCause()
This method returns the root cause of an exception
|
java.lang.String | getStackTrace()
This method gets the exception stack if there is an exception associated with the error.
|
java.lang.String | getSystemMessage()
This method gets the system error message text.
|
java.lang.String | getSystemMessage(java.util.Locale loc)
This method gets the system error message text.
|
boolean | hasErrorCode(java.lang.String code)
This method gets whether the exception data contains the input error code.
|
void | populate()
This method populates the error data bean.
|
void | populate(ECException e)
This method populates the error data bean with the given exception.
|
void | setECCorrectiveActionMessage(ECMessage newValue)
This method sets the corrective action error message.
|
void | setECMessage(ECMessage newValue)
This method sets the exception message.
|
void | setException(java.lang.Throwable throwable)
This method sets the exception of the error data bean.
|
void | setExceptionType(java.lang.String newValue)
This method sets the exception type.
|
void | setOriginatingCommand(java.lang.String newValue)
This method sets the originating command for the error.
|
java.lang.String | toString()
This method gets a String representation of the object.
|
public static final java.lang.String COPYRIGHT
public ErrorDataBean()
public java.lang.String getCorrectiveActionMessage()
public java.lang.String getCorrectiveActionMessage(java.util.Locale loc)
public ECMessage getECCorrectiveActionMessage()
public ECMessage getECMessage()
public java.lang.String getErrorCode()
public java.lang.String getCorrelationIdentifier()
public java.lang.Throwable getException()
public TypedProperty getExceptionData()
public java.lang.String getExceptionType()
public java.lang.String getMessage()
public java.lang.String getMessage(java.util.Locale loc)
public java.lang.String getMessageKey()
public java.lang.Object[] getMessageParam()
public java.lang.String getOriginatingCommand()
public TypedProperty getRequestProperties()
public java.lang.String getStackTrace()
public java.lang.String getSystemMessage()
public java.lang.String getSystemMessage(java.util.Locale loc)
public boolean hasErrorCode(java.lang.String code)
public void populate()
public void populate(ECException e)
public void setECCorrectiveActionMessage(ECMessage newValue)
public void setECMessage(ECMessage newValue)
public void setExceptionType(java.lang.String newValue)
public void setException(java.lang.Throwable throwable)
public void setOriginatingCommand(java.lang.String newValue)
public java.lang.String toString()
public java.lang.Throwable getRootCause()