net.sourceforge.sqlunit
Class SQLUnitException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.sourceforge.sqlunit.SQLUnitException
All Implemented Interfaces:
java.io.Serializable

public class SQLUnitException
extends java.lang.Exception

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.

Version:
$Revision: 1.7 $
Author:
Sujit Pal (spal@users.sourceforge.net)
See Also:
Serialized Form

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

SQLUnitException

public SQLUnitException(java.lang.String message)
Creates an SQLUnitException object using the error message.

Parameters:
message - the Exception message.

SQLUnitException

public SQLUnitException(java.lang.String message,
                        java.lang.String[] args)
Creates an SQLUnitException object using the error message and replaceable positional parameters.

Parameters:
message - the Exception message with positional parameters.
args - an array of positional parameter String values.

SQLUnitException

public SQLUnitException(java.lang.String message,
                        java.lang.Throwable e)
Creates an SQLUnitException object using the error message and a chained exception.

Parameters:
message - the Exception message.
e - the underlying chained throwable.

SQLUnitException

public 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.

Parameters:
message - the Exception message with positional parameters.
args - an array of positional parameter String values.
e - the underlying chained throwable.