Package org.openstreetmap.josm.io
Class MissingOAuthAccessTokenException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.openstreetmap.josm.io.OsmTransferException
-
- org.openstreetmap.josm.io.MissingOAuthAccessTokenException
-
- All Implemented Interfaces:
Serializable
public class MissingOAuthAccessTokenException extends OsmTransferException
Exception thrown when a valid OAuth access token was expected, but not found.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MissingOAuthAccessTokenException()
Constructs a newMissingOAuthAccessTokenException
.MissingOAuthAccessTokenException(String message)
Constructs a newMissingOAuthAccessTokenException
with the specified detail message.MissingOAuthAccessTokenException(String message, Throwable cause)
Constructs a newMissingOAuthAccessTokenException
with the specified detail message and cause.MissingOAuthAccessTokenException(Throwable cause)
Constructs a newMissingOAuthAccessTokenException
with the specified cause.
-
Method Summary
-
Methods inherited from class org.openstreetmap.josm.io.OsmTransferException
getUrl, setUrl
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MissingOAuthAccessTokenException
public MissingOAuthAccessTokenException()
Constructs a newMissingOAuthAccessTokenException
.
-
MissingOAuthAccessTokenException
public MissingOAuthAccessTokenException(String message, Throwable cause)
Constructs a newMissingOAuthAccessTokenException
with the specified detail message and cause.- 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). A null value is permitted, and indicates that the cause is nonexistent or unknown.
-
MissingOAuthAccessTokenException
public MissingOAuthAccessTokenException(String message)
Constructs a newMissingOAuthAccessTokenException
with the specified detail message.- Parameters:
message
- The detail message (which is saved for later retrieval by theThrowable.getMessage()
method)
-
MissingOAuthAccessTokenException
public MissingOAuthAccessTokenException(Throwable cause)
Constructs a newMissingOAuthAccessTokenException
with the specified cause.- Parameters:
cause
- The cause (which is saved for later retrieval by theThrowable.getCause()
method). A null value is permitted, and indicates that the cause is nonexistent or unknown.
-
-