Package com.deltaxml.core.exceptions
Class FeatureNotRecognizedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.deltaxml.core.exceptions.DeltaXMLException
com.deltaxml.core.exceptions.FeatureNotRecognizedException
- All Implemented Interfaces:
Serializable
Thrown to indicate that a feature name has not been recognized.
Features are used to configure various aspects of the PipelinedComparator operation, including parsing and comparison. They are specified with String values to allow run-time pluggability of implementations with different feature sets. In doing so, compile-time type safety is degraded and replaced by this exception.
Associated methods include:
CommonComparator.setParserFeature(String, boolean)CommonComparator.getParserFeature(String)
- Author:
- Nigel Whitaker
- See Also:
-
CommonComparator.setParserFeature(String, boolean)- Serialized Form
-
Constructor Summary
ConstructorsConstructorDescriptionFeatureNotRecognizedException(String message, String featureName) Creates a new FeatureNotRecognizedException.FeatureNotRecognizedException(String message, Throwable t, String featureName) Creates a new FeatureNotRecognizedException.FeatureNotRecognizedException(Throwable t, String featureName) Creates a new FeatureNotRecognizedException. -
Method Summary
Modifier and TypeMethodDescriptionProvides the featureName that is 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
-
FeatureNotRecognizedException
Creates a new FeatureNotRecognizedException.- Parameters:
message- The message stringt- A nested throwable should it have lead to or caused this exceptionfeatureName- the feature name that is not recognized
-
FeatureNotRecognizedException
Creates a new FeatureNotRecognizedException.- Parameters:
message- The message stringfeatureName- the feature name that is not recognized
-
FeatureNotRecognizedException
Creates a new FeatureNotRecognizedException.- Parameters:
t- A nested throwable should it have lead to or caused this exceptionfeatureName- the feature name that is not recognized
-
-
Method Details
-
getFeatureName
Provides the featureName that is not recognized.- Returns:
- the unrecognized feature name
-