|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.sqlunit.beans.ExceptionBean
public class ExceptionBean
The ExceptionBean bean models an exception specified in a result.
Constructor Summary | |
---|---|
ExceptionBean()
Default constructor. |
Method Summary | |
---|---|
java.lang.String |
getErrorCode()
Returns the error code. |
java.lang.String |
getErrorMessage()
Returns the error message. |
void |
setErrorCode(java.lang.String errorCode)
Sets the error code. |
void |
setErrorMessage(java.lang.String errorMessage)
Sets the error message. |
org.jdom.Element |
toElement()
Returns a JDOM Element representing the Exception bean. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExceptionBean()
Method Detail |
---|
public final java.lang.String getErrorCode()
public final void setErrorCode(java.lang.String errorCode)
errorCode
- the error code to set.public final java.lang.String getErrorMessage()
public final void setErrorMessage(java.lang.String errorMessage)
errorMessage
- the error message to set.public final org.jdom.Element toElement()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |