org.dbunit
Class DatabaseUnitRuntimeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.dbunit.DatabaseUnitRuntimeException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CsvParserException

public class DatabaseUnitRuntimeException
extends java.lang.RuntimeException

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

Constructor Summary
DatabaseUnitRuntimeException()
          Constructs an DatabaseUnitRuntimeException with no specified detail message and no encapsulated exception.
DatabaseUnitRuntimeException(java.lang.String msg)
          Constructs an DatabaseUnitRuntimeException with the specified detail message and no encapsulated exception.
DatabaseUnitRuntimeException(java.lang.String msg, java.lang.Throwable e)
          Constructs an DatabaseUnitRuntimeException with the specified detail message and encapsulated exception.
DatabaseUnitRuntimeException(java.lang.Throwable e)
          Constructs an DatabaseUnitRuntimeException with the encapsulated exception and use its message 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

DatabaseUnitRuntimeException

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


DatabaseUnitRuntimeException

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


DatabaseUnitRuntimeException

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


DatabaseUnitRuntimeException

public DatabaseUnitRuntimeException(java.lang.Throwable e)
Constructs an DatabaseUnitRuntimeException with the encapsulated exception and use its message 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.