Object
Throwable
Exception
RuntimeException
IllegalArgumentException
MismatchedCoordinateMetadataException
MismatchedDimensionException
MismatchedDimensionException
- All Implemented Interfaces:
Serializable
@Deprecated(since="3.1")
public class MismatchedDimensionException
extends MismatchedDimensionException
Deprecated.
Indicates that an operation cannot be completed properly because
of a mismatch in the dimensions of an argument given to a method.
For example, this exception may be thrown if a method expects a two-dimensional
DirectPosition
but the dimension of a given position is 3.- Since:
- 1.0
- See Also:
-
Constructor Summary
ConstructorDescriptionDeprecated.Creates an exception with no message.MismatchedDimensionException
(String message) Deprecated.Creates an exception with the specified message.MismatchedDimensionException
(String message, Throwable cause) Deprecated.Creates an exception with the specified message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MismatchedDimensionException
-
MismatchedDimensionException
Deprecated.Creates an exception with the specified message.- Parameters:
message
- the detail message, saved for later retrieval by theThrowable.getMessage()
method.
-
MismatchedDimensionException
Deprecated.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.
-
org.opengis.coordinate
package.