Class RequestHandler.RequestHandlerErrorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.openstreetmap.josm.io.remotecontrol.handler.RequestHandler.RequestHandlerException
-
- org.openstreetmap.josm.io.remotecontrol.handler.RequestHandler.RequestHandlerErrorException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RequestHandler.RequestHandlerOsmApiException
- Enclosing class:
- RequestHandler
public static class RequestHandler.RequestHandlerErrorException extends RequestHandler.RequestHandlerException
Error raised when a runtime error occurred.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RequestHandlerErrorException(String message)
Constructs a newRequestHandlerErrorException
.RequestHandlerErrorException(Throwable cause)
Constructs a newRequestHandlerErrorException
.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RequestHandlerErrorException
public RequestHandlerErrorException(String message)
Constructs a newRequestHandlerErrorException
.- Parameters:
message
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.- Since:
- 17330
-
RequestHandlerErrorException
public RequestHandlerErrorException(Throwable cause)
Constructs a newRequestHandlerErrorException
.- Parameters:
cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method).
-
-