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.
Modifier and Type | Field and Description |
---|---|
private ServerProviderConformanceTest.Event |
peekEvent |
Constructor and Description |
---|
ConformanceException() |
ConformanceException(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.
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private final ServerProviderConformanceTest.Event peekEvent
public ConformanceException()
public ConformanceException(ServerProviderConformanceTest.Event peekEvent)
public String getMessage()
getMessage
in class Throwable
Copyright © 2017. All rights reserved.