com.gargoylesoftware.base.testing
Class TestInitializationFailedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.gargoylesoftware.base.testing.TestInitializationFailedException
All Implemented Interfaces:
Serializable

public class TestInitializationFailedException
extends RuntimeException

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

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

Constructor Summary
TestInitializationFailedException(String message)
          Create an instance
TestInitializationFailedException(String message, Throwable t)
          Create an instance
 
Method Summary
 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
 

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


Copyright © 1998-2005 Gargoyle Software Inc.. All Rights Reserved.