com.gargoylesoftware.base.testing
Class TestInitializationFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.gargoylesoftware.base.testing.TestInitializationFailedException
All Implemented Interfaces:
java.io.Serializable

public class TestInitializationFailedException
extends java.lang.RuntimeException

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

Version:
$Revision: 1.6 $
Author:
Mike Bowler
See Also:
Serialized Form

Field Summary
private  java.lang.Throwable enclosedException_
           
private static long serialVersionUID
           
 
Constructor Summary
TestInitializationFailedException(java.lang.String message)
          Create an instance
TestInitializationFailedException(java.lang.String message, java.lang.Throwable t)
          Create an instance
 
Method Summary
 java.lang.Throwable getEnclosedException()
          Gets the enclosedException attribute of the TestInitializationFailedException object
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

enclosedException_

private final java.lang.Throwable enclosedException_
Constructor Detail

TestInitializationFailedException

public TestInitializationFailedException(java.lang.String message)
Create an instance

Parameters:
message - A message

TestInitializationFailedException

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

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

getEnclosedException

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

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