public class SchemaValidationException extends ValidationException
| Constructor and Description |
|---|
SchemaValidationException(Exchange exchange,
Object schema,
List<SAXParseException> fatalErrors,
List<SAXParseException> errors,
List<SAXParseException> warnings) |
| Modifier and Type | Method and Description |
|---|---|
List<SAXParseException> |
getErrors()
Returns the validation errors
|
List<SAXParseException> |
getFatalErrors()
Returns the fatal validation errors
|
Object |
getSchema()
Returns the schema that failed
|
List<SAXParseException> |
getWarnings()
Returns the validation warnings
|
protected static String |
message(Object schema,
List<SAXParseException> fatalErrors,
List<SAXParseException> errors,
List<SAXParseException> warnings) |
createExceptionMessage, getExchangeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic SchemaValidationException(Exchange exchange, Object schema, List<SAXParseException> fatalErrors, List<SAXParseException> errors, List<SAXParseException> warnings)
public Object getSchema()
public List<SAXParseException> getErrors()
public List<SAXParseException> getFatalErrors()
public List<SAXParseException> getWarnings()
protected static String message(Object schema, List<SAXParseException> fatalErrors, List<SAXParseException> errors, List<SAXParseException> warnings)
Apache Camel