public class DatabaseUnitException extends Exception
Constructor and Description |
---|
DatabaseUnitException()
Constructs an
DatabaseUnitException with no detail
message and no encapsulated exception. |
DatabaseUnitException(String msg)
Constructs an
DatabaseUnitException with the specified detail
message and no encapsulated exception. |
DatabaseUnitException(String msg,
Throwable e)
Constructs an
DatabaseUnitException with the specified detail
message and encapsulated exception. |
DatabaseUnitException(Throwable e)
Constructs an
DatabaseUnitException with the encapsulated
exception and use string representation as detail message. |
Modifier and Type | Method and Description |
---|---|
Throwable |
getException()
Deprecated.
Use
Throwable.getCause() to retrieve the nested exception |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DatabaseUnitException()
DatabaseUnitException
with no detail
message and no encapsulated exception.public DatabaseUnitException(String msg)
DatabaseUnitException
with the specified detail
message and no encapsulated exception.public DatabaseUnitException(String msg, Throwable e)
DatabaseUnitException
with the specified detail
message and encapsulated exception.public DatabaseUnitException(Throwable e)
DatabaseUnitException
with the encapsulated
exception and use string representation as detail message.public Throwable getException()
Throwable.getCause()
to retrieve the nested exceptionnull
if none.Copyright © 2002–2016. All rights reserved.