Class ServerProviderConformanceTest.ConformanceException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.yahoo.jdisc.test.ServerProviderConformanceTest.ConformanceException
All Implemented Interfaces:
Serializable
Enclosing class:
ServerProviderConformanceTest

public static class ServerProviderConformanceTest.ConformanceException extends RuntimeException

An instance of this exception is thrown within the conformance tests that imply that they will throw an exception. If your ServerProvider is capable of exposing such information, then this class is what you need to look for in the output.

See Also:
  • Constructor Details

    • ConformanceException

      public ConformanceException()
    • ConformanceException

      public ConformanceException(com.yahoo.jdisc.test.ServerProviderConformanceTest.Event peekEvent)
      In some tests, we want to ensure that a thrown exception has been handled by the framework before we do something else. There is no official hook to receive notification that the framework has handled an exception, but we assume (actually know) that the message of the exception will be accessed to create an error message. The provided event will signal that the exception has been _looked at_ by the framework, which we treat as synonymous with "handled" (due to synchronization in the framework, it is).
  • Method Details