org.odftoolkit.odfdom.pkg
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, toString
getCause, getException, getMessage
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public 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-2014 The Apache Software Foundation. All Rights Reserved.