public class ValidatorException extends RuntimeException
SchemaValidationException
.Modifier | Constructor and Description |
---|---|
|
ValidatorException(String message,
ValidatorErrorType type) |
protected |
ValidatorException(String message,
ValidatorErrorType type,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
static ValidatorException |
createCantDecodeValue(Parameter parameter) |
static ValidatorException |
createInvalidValueFormat(Parameter parameter) |
static ValidatorException |
createMissingRequiredParameter(Parameter parameter) |
static ValidatorException |
createOperationIdInvalid(String operationId) |
static ValidatorException |
createOperationNotFound(HttpMethod method,
String path) |
static ValidatorException |
createResponseNotFound(int statusCode,
String operation) |
static ValidatorException |
createUnsupportedValueFormat(Parameter parameter) |
ValidatorErrorType |
type() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ValidatorException(String message, ValidatorErrorType type)
protected ValidatorException(String message, ValidatorErrorType type, Throwable cause)
public static ValidatorException createMissingRequiredParameter(Parameter parameter)
public static ValidatorException createInvalidValueFormat(Parameter parameter)
public static ValidatorException createUnsupportedValueFormat(Parameter parameter)
public static ValidatorException createCantDecodeValue(Parameter parameter)
public static ValidatorException createOperationIdInvalid(String operationId)
public static ValidatorException createOperationNotFound(HttpMethod method, String path)
public static ValidatorException createResponseNotFound(int statusCode, String operation)
public ValidatorErrorType type()
Copyright © 2024 Eclipse. All rights reserved.