|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.apache.camel.CamelException org.apache.camel.CamelExchangeException org.apache.camel.ValidationException org.apache.camel.processor.validation.SchemaValidationException
public class SchemaValidationException
A Schema validation exception occurred
Constructor Summary | |
---|---|
SchemaValidationException(Exchange exchange,
Object schema,
List<SAXParseException> fatalErrors,
List<SAXParseException> errors,
List<SAXParseException> warnings)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class org.apache.camel.CamelExchangeException |
---|
createExceptionMessage, getExchange |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SchemaValidationException(Exchange exchange, Object schema, List<SAXParseException> fatalErrors, List<SAXParseException> errors, List<SAXParseException> warnings)
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |