org.dbunit
Class DatabaseUnitException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.dbunit.DatabaseUnitException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DataSetException, ExclusiveTransactionException

public class DatabaseUnitException
extends java.lang.Exception

Version:
$Revision: 1.8 $
Author:
Manuel Laflamme
See Also:
Serialized Form

Constructor Summary
DatabaseUnitException()
          Constructs an DatabaseUnitException with no detail message and no encapsulated exception.
DatabaseUnitException(java.lang.String msg)
          Constructs an DatabaseUnitException with the specified detail message and no encapsulated exception.
DatabaseUnitException(java.lang.String msg, java.lang.Throwable e)
          Constructs an DatabaseUnitException with the specified detail message and encapsulated exception.
DatabaseUnitException(java.lang.Throwable e)
          Constructs an DatabaseUnitException with the encapsulated exception and use string representation as detail message.
 
Method Summary
 java.lang.Throwable getException()
          Returns the encapsuled exception or null if none.
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream s)
           
 void printStackTrace(java.io.PrintWriter s)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatabaseUnitException

public DatabaseUnitException()
Constructs an DatabaseUnitException with no detail message and no encapsulated exception.


DatabaseUnitException

public DatabaseUnitException(java.lang.String msg)
Constructs an DatabaseUnitException with the specified detail message and no encapsulated exception.


DatabaseUnitException

public DatabaseUnitException(java.lang.String msg,
                             java.lang.Throwable e)
Constructs an DatabaseUnitException with the specified detail message and encapsulated exception.


DatabaseUnitException

public DatabaseUnitException(java.lang.Throwable e)
Constructs an DatabaseUnitException with the encapsulated exception and use string representation as detail message.

Method Detail

getException

public java.lang.Throwable getException()
Returns the encapsuled exception or null if none.


printStackTrace

public void printStackTrace()

printStackTrace

public void printStackTrace(java.io.PrintStream s)

printStackTrace

public void printStackTrace(java.io.PrintWriter s)


Copyright © 2002-2004 DbUnit.org. All Rights Reserved.