Package org.openstreetmap.josm.gui.oauth
Class OsmOAuthAuthorizationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.openstreetmap.josm.gui.oauth.OsmOAuthAuthorizationException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
OsmLoginFailedException
public class OsmOAuthAuthorizationException extends Exception
OSM OAuth authorization exception.- Since:
- 2746
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OsmOAuthAuthorizationException(String message)
Constructs a newOsmLoginFailedException
with the specified detail message.OsmOAuthAuthorizationException(Throwable cause)
Constructs a newOsmLoginFailedException
with the specified cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
OsmOAuthAuthorizationException
public OsmOAuthAuthorizationException(String message)
Constructs a newOsmLoginFailedException
with the specified detail message.- Parameters:
message
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.
-
OsmOAuthAuthorizationException
public OsmOAuthAuthorizationException(Throwable cause)
Constructs a newOsmLoginFailedException
with the specified cause.- Parameters:
cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method).
-
-