Class TestSuite.NotTestSuiteFault

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    TestSuite

    public static class TestSuite.NotTestSuiteFault
    extends TestSuite.Fault
    An exception that is used to report that a given file is not a test suite.
    See Also:
    Serialized Form
    • Method Summary

      • 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
    • Constructor Detail

      • NotTestSuiteFault

        public NotTestSuiteFault​(I18NResourceBundle i18n,
                                 java.lang.String s,
                                 java.io.File f)
        Create a Fault.
        Parameters:
        i18n - A resource bundle in which to find the detail message.
        s - The key for the detail message.
        f - The file in question, to be formatted with the detail message by MessageFormat.format(java.lang.Object[], java.lang.StringBuffer, java.text.FieldPosition)