Class ProjectionConfigurationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.openstreetmap.josm.data.projection.ProjectionConfigurationException
-
- All Implemented Interfaces:
java.io.Serializable
public class ProjectionConfigurationException extends java.lang.Exception
Exception thrown when a projection cannot be constructed due to invalid input parameters. Used mainly inCustomProjection
, where a parameter string is parsed and converted to a projection.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProjectionConfigurationException(java.lang.String message)
Constructs a newProjectionConfigurationException
.ProjectionConfigurationException(java.lang.String message, java.lang.Throwable cause)
Constructs a newProjectionConfigurationException
.ProjectionConfigurationException(java.lang.Throwable cause)
Constructs a newProjectionConfigurationException
.
-
-
-
Constructor Detail
-
ProjectionConfigurationException
public ProjectionConfigurationException(java.lang.String message, java.lang.Throwable cause)
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). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)
-
ProjectionConfigurationException
public ProjectionConfigurationException(java.lang.String message)
Constructs a newProjectionConfigurationException
.- Parameters:
message
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.
-
ProjectionConfigurationException
public ProjectionConfigurationException(java.lang.Throwable cause)
Constructs a newProjectionConfigurationException
.- Parameters:
cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)
-
-