public class OdfValidationException extends SAXParseException
ErrorHandler.| Constructor and Description |
|---|
OdfValidationException(ValidationConstraint constraint)
An OdfValidationException should be used for any validation result
related to an ODF package.
|
OdfValidationException(ValidationConstraint constraint,
String sourcePath,
Exception e,
Object... messageParameters)
An OdfValidationException should be used for any validation result
related to an ODF package.
|
OdfValidationException(ValidationConstraint constraint,
String sourcePath,
Object... messageParameters)
An OdfValidationException should be used for any validation result
related to an ODF package.
|
| Modifier and Type | Method and Description |
|---|---|
ValidationConstraint |
getConstraint() |
getColumnNumber, getLineNumber, getPublicId, getSystemId, toStringgetCause, getException, getMessageaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic OdfValidationException(ValidationConstraint constraint)
constraint - the predefined constant messagepublic OdfValidationException(ValidationConstraint constraint, String sourcePath, Object... messageParameters)
constraint - the predefined constaint messagesourcePath - the source path of the exception. For instance, it might be an
ODF package or ODF document.messageParameters - allow the customization of a constraint message with
parameters.public OdfValidationException(ValidationConstraint constraint, String sourcePath, Exception e, Object... messageParameters)
e - root exception to be embeddedconstraint - the predefined constant messagesourcePath - the source path of the exception. For instance, it might be an
ODF package or ODF document.messageParameters - allow the customization of a constraint message with
parameters.public ValidationConstraint getConstraint()
Copyright © 2008–2018 Apache Software Foundation; Copyright © 2018–2019 The Document Foundation. All rights reserved.