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:
Serializable
Direct Known Subclasses:
CsvParserException, IllegalInputCharacterException, PipelineException, SqlLoaderControlParserException

public class DatabaseUnitRuntimeException
extends RuntimeException

Since:
1.0
Version:
$Revision: 795 $ $Date: 2008-08-19 22:52:47 +0200 (Tue, 19 Aug 2008) $
Author:
Manuel Laflamme, Last changed by: $Author: gommma $
See Also:
Serialized Form

Constructor Summary
DatabaseUnitRuntimeException()
          Constructs an DatabaseUnitRuntimeException with no specified detail message and no encapsulated exception.
DatabaseUnitRuntimeException(String msg)
          Constructs an DatabaseUnitRuntimeException with the specified detail message and no encapsulated exception.
DatabaseUnitRuntimeException(String msg, Throwable cause)
          Constructs an DatabaseUnitRuntimeException with the specified detail message and encapsulated exception.
DatabaseUnitRuntimeException(Throwable cause)
          Constructs an DatabaseUnitRuntimeException with the encapsulated exception and use its message as detail message.
 
Method Summary
 Throwable getException()
          Deprecated. Use Throwable.getCause() instead
 
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

DatabaseUnitRuntimeException

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


DatabaseUnitRuntimeException

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

Parameters:
msg - Exception message

DatabaseUnitRuntimeException

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

Parameters:
msg -
cause - The cause of this exception

DatabaseUnitRuntimeException

public DatabaseUnitRuntimeException(Throwable cause)
Constructs an DatabaseUnitRuntimeException with the encapsulated exception and use its message as detail message.

Parameters:
cause - The cause of this exception
Method Detail

getException

public Throwable getException()
Deprecated. Use Throwable.getCause() instead

Returns the encapsulated exception or null if none.



Copyright © 2002-2012. All Rights Reserved.