Class 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.4 $
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Throwable getEnclosedException()
      Gets the enclosedException attribute of the TestInitializationFailedException object
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • 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