Class ProjectionConfigurationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.openstreetmap.josm.data.projection.ProjectionConfigurationException
-
- All Implemented Interfaces:
Serializable
public class ProjectionConfigurationException extends 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(String message)
Constructs a newProjectionConfigurationException
.ProjectionConfigurationException(String message, Throwable cause)
Constructs a newProjectionConfigurationException
.ProjectionConfigurationException(Throwable cause)
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 Detail
-
ProjectionConfigurationException
public ProjectionConfigurationException(String message, 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(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(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.)
-
-