Class IncompatibleOperationException
-
- All Implemented Interfaces:
Serializable
public class IncompatibleOperationException extends Exception
Thrown when an operation is applied in a manner inconsistent with one or both of two particular CRS objects.- Since:
- GeoAPI 1.0
- Author:
- Jesse Crossley (SYS Technologies)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IncompatibleOperationException(String message, String operationName)
Creates an exception with the specified message and operation name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getOperationName()
Returns the invalid operation name.-
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
IncompatibleOperationException
public IncompatibleOperationException(String message, String operationName)
Creates an exception with the specified message and operation name.- Parameters:
message
- The detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.operationName
- The invalid operation name.
-
-
Method Detail
-
getOperationName
public String getOperationName()
Returns the invalid operation name.- Returns:
- The invalid operation name.
-
-