Package com.deltaxml.core.exceptions
Class PropertyNotRecognizedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.deltaxml.core.exceptions.DeltaXMLException
com.deltaxml.core.exceptions.PropertyNotRecognizedException
- All Implemented Interfaces:
Serializable
Thrown to indicate a problem setting a property on all pipelined comparators.
Properties provide an extensible mechanism for configuring the operation of the pipeline. Unlike features these methods accept or provide complex String, or more generally Object, values rather than booleans. They are used in different contexts:
- SAX Parser configuration:
CommonComparator.setParserProperty(String, Object) - Output format specification:
PipelinedComparator.setOutputProperty(net.sf.saxon.s9api.Serializer.Property, String)
The getPropertyName() method provides access to the name that was attempted to be set and which was not recognized.
Please consult the appropriate method descriptions for full details of the supported properties.
- Author:
- Nigel Whitaker
- See Also:
-
CommonComparator.setParserProperty(String, Object)PipelinedComparator.setOutputProperty(net.sf.saxon.s9api.Serializer.Property, String)CommonComparator.getParserProperty(String)CommonComparator.getOutputProperty(net.sf.saxon.s9api.Serializer.Property)- Serialized Form
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyNotRecognizedException(String message, String propertyName) Creates a new PropertyNotRecognizedException.PropertyNotRecognizedException(String message, Throwable e, String propertyName) Creates a new PropertyNotRecognizedException.PropertyNotRecognizedException(Throwable e, String propertyName) Creates a new PropertyNotRecognizedException. -
Method Summary
Modifier and TypeMethodDescriptionReports the name of the property which was not recognized.Methods inherited from class com.deltaxml.core.exceptions.DeltaXMLException
getCause, getThrowableMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PropertyNotRecognizedException
Creates a new PropertyNotRecognizedException.- Parameters:
message- The message stringe- A nested throwable should it have lead to this exceptionpropertyName- the name of the property being set or requested
-
PropertyNotRecognizedException
Creates a new PropertyNotRecognizedException.- Parameters:
message- The message stringpropertyName- the name of the property being set or requested
-
PropertyNotRecognizedException
Creates a new PropertyNotRecognizedException.- Parameters:
e- A nested throwable should it have lead to this exceptionpropertyName- the name of the property being set or requested
-
-
Method Details
-
getPropertyName
Reports the name of the property which was not recognized.- Returns:
- the name of the property which was not recognized.
-