Module org.apache.sis.referencing
Class InvalidGeodeticParameterException
Object
Throwable
Exception
FactoryException
InvalidGeodeticParameterException
- All Implemented Interfaces:
Serializable
Thrown when a factory
createFoo(…)
method is given invalid parameters.
This exception may be thrown by factories that create an object from geodetic parameters
like semi-major or semi-minor axis length, latitude of natural origin, etc.
The cause may be a parameter having an illegal value, or a mandatory parameter which has not been specified.
This exception is not for invalid authority codes. For such cases, see
NoSuchAuthorityCodeException
instead.
- Since:
- 0.7
- See Also:
-
Constructor Summary
ConstructorDescriptionConstruct an exception with no detail message.Construct an exception with the specified detail message.InvalidGeodeticParameterException
(String message, Throwable cause) Construct an exception with the specified detail message and cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidGeodeticParameterException
public InvalidGeodeticParameterException()Construct an exception with no detail message. -
InvalidGeodeticParameterException
Construct an exception with the specified detail message.- Parameters:
message
- the detail message, saved for later retrieval by theThrowable.getMessage()
method.
-
InvalidGeodeticParameterException
Construct an exception with the specified detail message and cause.- Parameters:
message
- the detail message, saved for later retrieval by theThrowable.getMessage()
method.cause
- the cause for this exception, saved for later retrieval by theThrowable.getCause()
method.
-