com.rshtech.exception
Class ErrorInformation
java.lang.Object
com.rshtech.exception.ErrorInformation
- All Implemented Interfaces:
- java.io.Serializable
public class ErrorInformation
- extends java.lang.Object
- implements java.io.Serializable
Contains the error/exception information used in the ApplicationException
and SystemException classes.
- Version:
- $Revision: 3137 $
- Author:
- $Author: kostya $
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ErrorInformation
public ErrorInformation()
ErrorInformation
public ErrorInformation(ErrorCode codeVal,
java.lang.String detailsVal,
java.lang.Throwable rootCauseVal)
getCode
public ErrorCode getCode()
- Returns:
- Returns the code.
setCode
public void setCode(ErrorCode code)
- Parameters:
code - The code to set.
getErrorMessage
public java.lang.String getErrorMessage()
getDetails
public java.lang.String getDetails()
- Returns:
- Returns the details.
setDetails
public void setDetails(java.lang.String details)
- Parameters:
details - The details to set.
getRootCause
public java.lang.Throwable getRootCause()
- Returns:
- Returns the rootCause.
setRootCause
public void setRootCause(java.lang.Throwable rootCause)
- Parameters:
rootCause - The rootCause to set.
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object