com.gargoylesoftware.base.testing

Class TestInitializationFailedException

public class TestInitializationFailedException extends RuntimeException

A exception that will be thrown when a test is unable to initialize

Version: $Revision: 1.4 $

Author: Mike Bowler

Field Summary
ThrowableenclosedException_
static longserialVersionUID
Constructor Summary
TestInitializationFailedException(String message)
Create an instance
TestInitializationFailedException(String message, Throwable t)
Create an instance
Method Summary
ThrowablegetEnclosedException()
Gets the enclosedException attribute of the TestInitializationFailedException object

Field Detail

enclosedException_

private final Throwable enclosedException_

serialVersionUID

private static final long serialVersionUID

Constructor Detail

TestInitializationFailedException

public TestInitializationFailedException(String message)
Create an instance

Parameters: message A message

TestInitializationFailedException

public TestInitializationFailedException(String message, Throwable t)
Create an instance

Parameters: message A text message t The throwable that caused the failure

Method Detail

getEnclosedException

public Throwable getEnclosedException()
Gets the enclosedException attribute of the TestInitializationFailedException object

Returns: The enclosedException value or null if no exception was specified