|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception net.sourceforge.sqlunit.SQLUnitException
public class SQLUnitException
SQLUnitException is an application specific Exception class. Exceptions which are deemed to be application specific, ie of interest to the user of SQLUnit rather than the developer, are classified as a SQLUnitException. The SQLUnit tool treats them a little differently compared to standard Exceptions. Instead of including this in the stack trace in case of an error, the message is displayed in STDERR.
Constructor Summary | |
---|---|
SQLUnitException(java.lang.String message)
Creates an SQLUnitException object using the error message. |
|
SQLUnitException(java.lang.String message,
java.lang.String[] args)
Creates an SQLUnitException object using the error message and replaceable positional parameters. |
|
SQLUnitException(java.lang.String message,
java.lang.String[] args,
java.lang.Throwable e)
Creates an SQLUnitException object using the error message, replaceable positional parameters and a chained exception. |
|
SQLUnitException(java.lang.String message,
java.lang.Throwable e)
Creates an SQLUnitException object using the error message and a chained exception. |
Method Summary |
---|
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 |
Constructor Detail |
---|
public SQLUnitException(java.lang.String message)
message
- the Exception message.public SQLUnitException(java.lang.String message, java.lang.String[] args)
message
- the Exception message with positional parameters.args
- an array of positional parameter String values.public SQLUnitException(java.lang.String message, java.lang.Throwable e)
message
- the Exception message.e
- the underlying chained throwable.public SQLUnitException(java.lang.String message, java.lang.String[] args, java.lang.Throwable e)
message
- the Exception message with positional parameters.args
- an array of positional parameter String values.e
- the underlying chained throwable.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |