Package org.apache.sis.feature
Class InvalidFeatureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.apache.sis.feature.InvalidFeatureException
- All Implemented Interfaces:
Serializable
,LocalizedException
Thrown when a feature fails at least one conformance test.
- Since:
- 0.7
- Version:
- 0.8
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.opengis.util.InternationalString
A description of the illegal feature.private static final long
For cross-version compatibility. -
Constructor Summary
ConstructorsConstructorDescriptionInvalidFeatureException
(org.opengis.util.InternationalString message) Creates a new exception with the given explanation message. -
Method Summary
Modifier and TypeMethodDescriptionorg.opengis.util.InternationalString
Returns the message in various locales.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.sis.util.LocalizedException
getLocalizedMessage, getMessage
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor cross-version compatibility.- See Also:
-
message
private final org.opengis.util.InternationalString messageA description of the illegal feature.
-
-
Constructor Details
-
InvalidFeatureException
InvalidFeatureException(org.opengis.util.InternationalString message) Creates a new exception with the given explanation message.- Parameters:
message
- a description of the illegal feature.
-
-
Method Details
-
getInternationalMessage
public org.opengis.util.InternationalString getInternationalMessage()Returns the message in various locales.- Specified by:
getInternationalMessage
in interfaceLocalizedException
- Returns:
- the exception message.
-