Class ProjectionConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openstreetmap.josm.data.projection.ProjectionConfigurationException
- All Implemented Interfaces:
Serializable
Exception thrown when a projection cannot be constructed due to invalid input
parameters.
Used mainly in
CustomProjection, where a parameter string is parsed
and converted to a projection.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProjectionConfigurationException(String message) Constructs a newProjectionConfigurationException.ProjectionConfigurationException(String message, Throwable cause) Constructs a newProjectionConfigurationException.Constructs a newProjectionConfigurationException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProjectionConfigurationException
Constructs a newProjectionConfigurationException.- Parameters:
message- the detail message (which is saved for later retrieval by theThrowable.getMessage()method).cause- the cause (which is saved for later retrieval by theThrowable.getCause()method). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
-
ProjectionConfigurationException
Constructs a newProjectionConfigurationException.- Parameters:
message- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()method.
-
ProjectionConfigurationException
Constructs a newProjectionConfigurationException.- Parameters:
cause- the cause (which is saved for later retrieval by theThrowable.getCause()method). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
-