org.dbunit
Class DatabaseUnitRuntimeException

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

public class DatabaseUnitRuntimeException
extends java.lang.RuntimeException

Version:
$Revision: 554 $
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()
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream s)
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter s)
Overrides:
printStackTrace in class java.lang.Throwable


Copyright © 2002-2008. All Rights Reserved.