io.swagger.oas.inflector.converters.ConversionException Maven / Gradle / Ivy
package io.swagger.oas.inflector.converters;
import io.swagger.oas.inflector.validators.ValidationMessage;
public class ConversionException extends Exception {
private static final long serialVersionUID = 1567596767061436973L;
public ConversionException() {}
private ValidationMessage message;
public ConversionException message(ValidationMessage message) {
this.message = message;
return this;
}
public ValidationMessage getError() {
return message;
}
}