public class ECSystemException extends ECException implements java.io.Serializable
APPLICATION_ERROR, ECMESSAGE, ECMESSAGEKEY, EXCEP_DATA, EXCEP_TYPE, EXCEPTION, GENERIC_APPLICATION_ERROR_TASK, GENERIC_SYSTEM_ERROR_TASK, MSG_PARAM, SYSTEM_ERROR
Constructor and Description |
---|
ECSystemException(ECMessage msg,
java.lang.String className,
java.lang.String methodName)
This is a constructor for this class with three parameters.
|
ECSystemException(ECMessage msg,
java.lang.String className,
java.lang.String methodName,
boolean logMsg)
This is a constructor for this class with four parameters.
|
ECSystemException(ECMessage msg,
java.lang.String className,
java.lang.String methodName,
java.lang.Object[] msgParam)
This is a constructor for this class with four parameters.
|
ECSystemException(ECMessage msg,
java.lang.String className,
java.lang.String methodName,
java.lang.Object[] msgParam,
boolean logMsg)
This is a constructor for this class with five parameters.
|
ECSystemException(ECMessage msg,
java.lang.String className,
java.lang.String methodName,
java.lang.Object[] msgParam,
java.lang.String errorTaskName)
This is a constructor for this class with five parameters.
|
ECSystemException(ECMessage msg,
java.lang.String className,
java.lang.String methodName,
java.lang.Object[] msgParam,
java.lang.String errorTaskName,
boolean logMsg)
This is a constructor for this class with six parameters.
|
ECSystemException(ECMessage ecMessage,
java.lang.String className,
java.lang.String methodName,
java.lang.Object[] messageParameters,
java.lang.String errorTaskName,
java.lang.String[] symptomData)
This is a constructor for this class with four parameters.
|
ECSystemException(ECMessage msg,
java.lang.String className,
java.lang.String methodName,
java.lang.Object[] msgParam,
java.lang.String errorTaskName,
java.lang.Throwable exc)
This is a constructor for this class with six parameters.
|
ECSystemException(ECMessage msg,
java.lang.String className,
java.lang.String methodName,
java.lang.Object[] msgParam,
java.lang.String errorTaskName,
java.lang.Throwable exc,
boolean logMsg)
This is a constructor for this class with seven parameters.
|
ECSystemException(ECMessage msg,
java.lang.String className,
java.lang.String methodName,
java.lang.Object[] msgParam,
java.lang.Throwable exc)
This is a constructor for this class with five parameters.
|
ECSystemException(ECMessage msg,
java.lang.String className,
java.lang.String methodName,
java.lang.Object[] msgParam,
java.lang.Throwable exc,
boolean logMsg)
This is a constructor for this class with six parameters.
|
ECSystemException(ECMessage msg,
java.lang.String className,
java.lang.String methodName,
java.lang.String errorTaskName)
This is a constructor for this class with four parameters.
|
ECSystemException(ECMessage msg,
java.lang.String className,
java.lang.String methodName,
java.lang.String errorTaskName,
boolean logMsg)
This is a constructor for this class with five parameters.
|
ECSystemException(ECMessage msg,
java.lang.String className,
java.lang.String methodName,
java.lang.String errorTaskName,
java.lang.Throwable exc)
This is a constructor for this class with five parameters.
|
ECSystemException(ECMessage msg,
java.lang.String className,
java.lang.String methodName,
java.lang.String errorTaskName,
java.lang.Throwable exc,
boolean logMsg)
This is a constructor for this class with six parameters.
|
ECSystemException(ECMessage msg,
java.lang.String className,
java.lang.String methodName,
java.lang.Throwable exc)
This is a constructor for this class with four parameters.
|
ECSystemException(ECMessage msg,
java.lang.String className,
java.lang.String methodName,
java.lang.Throwable exc,
boolean logMsg)
This is a constructor for this class with five parameters.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getCause()
This method returns the root cause of the exception.
|
java.lang.String |
getErrorType()
This method gets the type of error.
|
java.lang.String |
getGenericErrorTask()
This method gets the generic error task.
|
void |
setExceptionValues(ECMessage msg,
java.lang.Object[] msgParam,
java.lang.String errorTaskName,
java.lang.Throwable exc)
This method sets the exception values of an
ECSystemException . |
addLogData, addLogData, getCorrelationIdentifier, getECMessage, getECParameterErrors, getErrorMessageKey, getErrorProperties, getErrorTaskName, getMessage, getMessageKey, getMessageParameters, getStackTrace, getSymptomData, getThrowable, getUserMessage, isRecoverable, printStackTrace, printStackTrace, setErrorTaskName, setException, setOrginatingCommand, setRecoverable, setThrowable
getException, getExceptionInfo, getOriginalException, getPreviousException, printStackTrace, printSuperStackTrace, printSuperStackTrace, setDefaultMessage, setLocalizationInfo
public ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName)
msg
- An ECMessage
object used for describing the exception.className
- The name of the class that threw this ECSystemException
.methodName
- The name of the method that threw this ECSystemException
.public ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Object[] msgParam)
msg
- An ECMessage
object used for describing the exception.className
- The name of the class that threw this ECSystemException
.methodName
- The name of the method that threw this ECSystemException
.msgParam
- An Object
array of parameter values to be passed to the message.public ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Object[] msgParam, java.lang.String errorTaskName)
msg
- An ECMessage
object used for describing the exceptionclassName
- The name of the class that threw this ECSystemException
.methodName
- The name of the method that threw this ECSystemException
.msgParam
- An Object
array of parameter values to be passed to the message.errorTaskName
- The name of the exception handler to handle this error.public ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Object[] msgParam, java.lang.String errorTaskName, java.lang.Throwable exc)
msg
- An ECMessage
object used for describing the exceptionclassName
- The name of the class that threw this ECSystemException
.methodName
- The name of the method that threw this ECSystemException
.msgParam
- An Object
array of parameter values to be passed to the message.errorTaskName
- The name of the exception handler to handle this error.exc
- The exception captured at the original point of failure.public ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Object[] msgParam, java.lang.String errorTaskName, java.lang.Throwable exc, boolean logMsg)
msg
- An ECMessage
object used for describing the exceptionclassName
- The name of the class that threw this ECSystemException
.methodName
- The name of the method that threw this ECSystemException
.msgParam
- An Object
array of parameter values to be passed to the message.errorTaskName
- The name of the exception handler to handle this error.exc
- The exception captured at the original point of failure.logMsg
- A boolean
value indicating whether the message is logged immediately (true if it is, false otherwise).public ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Object[] msgParam, java.lang.String errorTaskName, boolean logMsg)
msg
- An ECMessage
object used for describing the exception.className
- The name of the class that threw this ECSystemException
.methodName
- The name of the method that threw this ECSystemException
.msgParam
- An Object
array of parameter values to be passed to the message.errorTaskName
- The name of the exception handler to handle this error.logMsg
- A boolean
value indicating whether the message is logged immediately (true if it is, false otherwise).public ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Object[] msgParam, java.lang.Throwable exc)
msg
- An ECMessage
object used for describing the exception.className
- The name of the class that threw this ECSystemException
.methodName
- The name of the method that threw this ECSystemException
.msgParam
- An Object
array of parameter values to be passed to the message.exc
- The exception captured at the original point of failure.public ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Object[] msgParam, java.lang.Throwable exc, boolean logMsg)
msg
- An ECMessage
object used for describing the exception.className
- The name of the class that threw this ECSystemException
.methodName
- The name of the method that threw this ECSystemException
.msgParam
- An Object
array of parameter values to be passed to the message.exc
- The exception captured at the original point of failure.logMsg
- A boolean
value indicating whether the message is logged immediately (true if it is, false otherwise).public ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Object[] msgParam, boolean logMsg)
msg
- An ECMessage
object used for describing the exception.className
- The name of the class that threw this ECSystemException
.methodName
- The name of the method that threw this ECSystemException
.msgParam
- An Object
array of parameter values to be passed to the message.logMsg
- A boolean
value indicating whether the message is logged immediately (true if it is, false otherwise).public ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.String errorTaskName)
msg
- An ECMessage
object used for describing the exception.className
- The name of the class that threw this ECSystemException
.methodName
- The name of the method that threw this ECSystemException
.errorTaskName
- The name of the exception handler to handle this error.public ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.String errorTaskName, java.lang.Throwable exc)
msg
- An ECMessage
object used for describing the exception.className
- The name of the class that threw this ECSystemException
.methodName
- The name of the method that threw this ECSystemException
.errorTaskName
- The name of the exception handler to handle this error.exc
- The exception captured at the original point of failure.public ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.String errorTaskName, java.lang.Throwable exc, boolean logMsg)
msg
- An ECMessage
object used for describing the exception.className
- The name of the class that threw this ECSystemException
.methodName
- The name of the method that threw this ECSystemException
.errorTaskName
- The name of the exception handler to handle this error.exc
- The exception captured at the original point of failure.logMsg
- A boolean
value indicating whether the message is logged immediately (true if it is, false otherwise).public ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.String errorTaskName, boolean logMsg)
msg
- An ECMessage
object used for describing the exception.className
- The name of the class that threw this ECSystemException
.methodName
- The name of the method that threw this ECSystemException
.errorTaskName
- The name of the exception handler to handle this error.logMsg
- A boolean
value indicating whether the message is logged immediately (true if it is, false otherwise).public ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Throwable exc)
msg
- An ECMessage
object used for describing the exception.className
- The name of the class that threw this ECSystemException
.methodName
- The name of the method that threw this ECSystemException
.exc
- The exception captured at the original point of failure.public ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Throwable exc, boolean logMsg)
msg
- An ECMessage
object used for describing the exception.className
- The name of the class that threw this ECSystemException
.methodName
- The name of the method that threw this ECSystemException
.exc
- The exception captured at the original point of failure.logMsg
- A boolean
value indicating whether the message is logged immediately (true if it is, false otherwise).public ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, boolean logMsg)
msg
- An ECMessage
object used for describing the exception.className
- The name of the class that threw this ECSystemException
.methodName
- The name of the method that threw this ECSystemException
.logMsg
- A boolean
value indicating whether the message is logged immediately (true if it is, false otherwise).public ECSystemException(ECMessage ecMessage, java.lang.String className, java.lang.String methodName, java.lang.Object[] messageParameters, java.lang.String errorTaskName, java.lang.String[] symptomData)
activityToken
- The activity token.ecMessage
- An ECMessage
object used for describing the exception.className
- The name of the class that threw this ECSystemException
.methodName
- The name of the method that threw this ECSystemException
.messageParameters
- An Object
array of parameter values to be passed to the message.errorTaskName
- The name of the exception handler to handle this error.symptomData
- The symptom data associated with the exception.ecParameterErrors
- Any additional errors associated with the exception.public java.lang.String getErrorType()
getErrorType
in class ECException
public java.lang.String getGenericErrorTask()
getGenericErrorTask
in class ECException
public void setExceptionValues(ECMessage msg, java.lang.Object[] msgParam, java.lang.String errorTaskName, java.lang.Throwable exc)
ECSystemException
.msg
- An ECMessage
object used for describing the exception.msgParam
- An Object
array of parameter values to be passed to the message.errorTaskName
- The name of the exception handler to handle this error.exc
- The exception captured at the original point of failure.public java.lang.Throwable getCause()
getCause
in class java.lang.Throwable