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.InternationalStringA description of the illegal feature.private static final longFor 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.InternationalStringReturns the message in various locales.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
getInternationalMessagein interfaceLocalizedException- Returns:
- the exception message.
-