Class OpenapiContractException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ch.nexsol.gateway.validation.OpenapiContractException
All Implemented Interfaces:
Serializable

public class OpenapiContractException extends RuntimeException
Thrown when an OpenAPI contract cannot be read or parsed.
See Also:
  • Constructor Details

    • OpenapiContractException

      public OpenapiContractException(String message)
      Creates the exception.
      Parameters:
      message - what could not be read, and why
    • OpenapiContractException

      public OpenapiContractException(String message, Throwable cause)
      Creates the exception.
      Parameters:
      message - what could not be read, and why
      cause - the underlying failure