Class TestConfigurationError

  • All Implemented Interfaces:
    java.io.Serializable

    public class TestConfigurationError
    extends java.lang.RuntimeException
    Indicates an error in the test configuration significant enough that continuing to execute would likely result in inappropriate scores being assigned. This is derived from RuntimeException rather than Exception because this is intended for situations where it is safest to stop the program. This should probably only be caught at the "main()" level.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      TestConfigurationError​(java.lang.String message)
      Create an exception.
    • 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

      • TestConfigurationError

        public TestConfigurationError​(java.lang.String message)
        Create an exception.
        Parameters:
        message - explanation for the exception.