|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.ibm.btt.samples.business.sna.lu0.exception.DummyLu0Exception
The DummyLu0Exception class is the base class from where all the exceptions raised by the framework are inherited. It includes the severity of the exception, the code, and the invoking class and method names.
Field Summary | |
---|---|
static java.lang.String |
FATAL
|
static java.lang.String |
RECOVERABLE
|
Fields inherited from class java.lang.Exception |
---|
|
Constructor Summary | |
---|---|
DummyLu0Exception(java.lang.String severity,
java.lang.String errorCode,
java.lang.String message)
This constructor creates the DummyLu0Exception object that initializes the following attributes. |
Method Summary | |
---|---|
java.lang.String |
getClassName()
Returns the name of the class that generates the exception. |
java.lang.String |
getErrorCode()
Returns the value of code. |
java.lang.String |
getMethodName()
Returns the name of the method that generates the exception. |
java.lang.String |
getSeverity()
Gets the value of severity. |
void |
setClassName(java.lang.String className)
Sets the name of the class that generates the exception. |
void |
setErrorCode(java.lang.String errorCode)
Sets the value of code. |
void |
setMethodName(java.lang.String methodName)
Sets the name of the method that generates the exception. |
void |
setSeverity(java.lang.String severity)
Sets the value of severity. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static java.lang.String RECOVERABLE
public static java.lang.String FATAL
Constructor Detail |
public DummyLu0Exception(java.lang.String severity, java.lang.String errorCode, java.lang.String message)
severity
- java.lang.StringerrorCode
- java.lang.Stringmessage
- java.lang.StringMethod Detail |
public java.lang.String getClassName()
public java.lang.String getErrorCode()
public java.lang.String getMethodName()
public java.lang.String getSeverity()
public void setClassName(java.lang.String className)
className
- java.lang.Stringpublic void setErrorCode(java.lang.String errorCode)
errorCode
- java.lang.Stringpublic void setMethodName(java.lang.String methodName)
methodName
- java.lang.Stringpublic void setSeverity(java.lang.String severity)
severity
- java.lang.String
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |