public static class ValidationException.ValidationExceptionFactory extends Object
Constructor and Description |
---|
ValidationExceptionFactory() |
public static ValidationException generateWrongContentTypeExpected(String actualContentType, String expectedContentType)
public static ValidationException generateNotFoundValidationException(String parameterName, ParameterLocation location)
public static ValidationException generateUnexpectedArrayValidationException(String parameterName, ParameterValidationRule validationRule)
public static ValidationException generateUnexpectedSingleStringValidationException(String parameterName, ParameterValidationRule validationRule)
public static ValidationException generateNotMatchValidationException(String parameterName, String value, ParameterValidationRule validationRule)
public static ValidationException generateFileNotFoundValidationException(String filename, String contentType)
public static ValidationException generateEmptyValueValidationException(String parameterName, ParameterValidationRule rule, ParameterLocation location)
public static ValidationException generateUnexpectedArraySizeValidationException(Integer maxItems, Integer minItems, Integer actualSize)
public static ValidationException generateDeserializationError(String message)
public static ValidationException generateObjectFieldNotFound(String fieldName)
public static ValidationException generateNotMatchValidationException(String message)
public static ValidationException generateNotParsableJsonBodyException(String message)
public static ValidationException generateInvalidJsonBodyException(String jsonPath, String value, String message)
public static ValidationException generateInvalidXMLBodyException(String message)
Copyright © 2023 Eclipse. All rights reserved.