public class InvalidGeodeticParameterException extends FactoryException
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.
NoSuchAuthorityCodeException
instead.Defined in the sis-referencing
module
Constructor and Description |
---|
InvalidGeodeticParameterException()
Construct an exception with no detail message.
|
InvalidGeodeticParameterException(String message)
Construct an exception with the specified detail message.
|
InvalidGeodeticParameterException(String message,
Throwable cause)
Construct an exception with the specified detail message and cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidGeodeticParameterException()
public InvalidGeodeticParameterException(String message)
message
- the detail message, saved for later retrieval by the Throwable.getMessage()
method.public InvalidGeodeticParameterException(String message, Throwable cause)
message
- the detail message, saved for later retrieval by the Throwable.getMessage()
method.cause
- the cause for this exception, saved for later retrieval by the Throwable.getCause()
method.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.