Package org.openstreetmap.josm.io.auth
Class CredentialsAgentException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.openstreetmap.josm.io.auth.CredentialsAgentException
-
- All Implemented Interfaces:
java.io.Serializable
public class CredentialsAgentException extends java.lang.Exception
Exception thrown for errors while handling credentials.Missing credentials and discarded password dialog are not considered an error. At time of writing, methods return
null
in this case.- See Also:
CredentialsAgent
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CredentialsAgentException(java.lang.String message)
Constructs a newCredentialsAgentException
.CredentialsAgentException(java.lang.String message, java.lang.Throwable cause)
Constructs a newCredentialsAgentException
.CredentialsAgentException(java.lang.Throwable cause)
Constructs a newCredentialsAgentException
.
-
-
-
Constructor Detail
-
CredentialsAgentException
public CredentialsAgentException(java.lang.String message, java.lang.Throwable cause)
Constructs a newCredentialsAgentException
.- 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).
-
CredentialsAgentException
public CredentialsAgentException(java.lang.String message)
Constructs a newCredentialsAgentException
.- Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method).
-
CredentialsAgentException
public CredentialsAgentException(java.lang.Throwable cause)
Constructs a newCredentialsAgentException
.- Parameters:
cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method).
-
-