public class PluginConfigurationValidatorException extends Exception
Constructor and Description |
---|
PluginConfigurationValidatorException(String message,
File xmlFile,
List<ValidationIssue> errors,
List<ValidationIssue> warnings,
List<ValidationIssue> fatals)
Constructor.
|
PluginConfigurationValidatorException(String message,
File xmlFile,
List<ValidationIssue> errors,
List<ValidationIssue> warnings,
List<ValidationIssue> fatals,
Throwable cause)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<ValidationIssue> |
getAllErrors() |
List<ValidationIssue> |
getErrors()
Each validation issue corresponds to the definition of "error" in section
1.2 of the W3C XML 1.0 Recommendation.
|
List<ValidationIssue> |
getFatals()
Each validation issue corresponds to the definition of "fatal error" in
section 1.2 of the W3C XML 1.0 Recommendation.
|
List<ValidationIssue> |
getWarnings()
Conditions that are not errors or fatal errors as defined by the XML
recommendation.
|
File |
getXmlFile() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PluginConfigurationValidatorException(String message, File xmlFile, List<ValidationIssue> errors, List<ValidationIssue> warnings, List<ValidationIssue> fatals)
PluginConfigurationValidatorException(String, File, List, List, List, Throwable)
with a null cause.public PluginConfigurationValidatorException(String message, File xmlFile, List<ValidationIssue> errors, List<ValidationIssue> warnings, List<ValidationIssue> fatals, Throwable cause)
message
- A descriptive message.xmlFile
- The thermostat-plugin.xml file which caused this exception to
be thrown.errors
- The list of schema validation errors.warnings
- The list of (validation) warnings.fatals
- The list of fatal (validation) errors.cause
- The underlying exception. May be null.public List<ValidationIssue> getAllErrors()
public File getXmlFile()
public List<ValidationIssue> getWarnings()
public List<ValidationIssue> getErrors()
public List<ValidationIssue> getFatals()
Copyright © 2016. All rights reserved.