Class ExpectationInitializerException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.mockserver.server.initialize.ExpectationInitializerException
All Implemented Interfaces:
Serializable

public class ExpectationInitializerException extends RuntimeException
Thrown when an expectation initializer (initialization JSON / OpenAPI file or initialization class) fails to load and failOnInitializationError is enabled, so that the failure aborts server startup instead of being logged at WARN and ignored.
Author:
jamesdbloom
See Also:
  • Constructor Details

    • ExpectationInitializerException

      public ExpectationInitializerException(String message, Throwable cause)