Package org.opengis.feature
Class MismatchedFeatureException
- Object
-
- Throwable
-
- Exception
-
- RuntimeException
-
- IllegalArgumentException
-
- MismatchedFeatureException
-
- All Implemented Interfaces:
Serializable
public class MismatchedFeatureException extends IllegalArgumentException
Indicates that an operation cannot be completed properly because of a mismatch in the attribute or feature type of operands.Example: a process copying the property values from one feature to another feature may fail because a property of the source feature is not found in the target feature.- Since:
- 3.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MismatchedFeatureException()
Creates an exception with no message.MismatchedFeatureException(String message)
Creates an exception with the specified message.MismatchedFeatureException(String message, Throwable cause)
Creates an exception with the specified message and cause.
-
Method Summary
-
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MismatchedFeatureException
public MismatchedFeatureException()
Creates an exception with no message.
-
MismatchedFeatureException
public MismatchedFeatureException(String message)
Creates an exception with the specified message.- Parameters:
message
- the detail message, saved for later retrieval by theThrowable.getMessage()
method.
-
MismatchedFeatureException
public MismatchedFeatureException(String message, Throwable cause)
Creates an exception with the specified message and cause.- Parameters:
message
- the detail message, saved for later retrieval by theThrowable.getMessage()
method.cause
- the cause, saved for later retrieval by theThrowable.getCause()
method.
-
-