public class LoginException extends RepositoryException
Repository.login(Credentials, String)
and Session.impersonate(Credentials)
if the specified
credentials are invalid.rootCause
Constructor and Description |
---|
LoginException()
Constructs a new instance of this class with
null as its
detail message. |
LoginException(String message)
Constructs a new instance of this class with the specified detail
message.
|
LoginException(String message,
Throwable rootCause)
Constructs a new instance of this class with the specified detail
message and root cause.
|
LoginException(Throwable rootCause)
Constructs a new instance of this class with the specified root cause.
|
getCause, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace
addSuppressed, fillInStackTrace, getStackTrace, getSuppressed, initCause, setStackTrace, toString
public LoginException()
null
as its
detail message.public LoginException(String message)
message
- the detail message. The detail message is saved for
later retrieval by the RepositoryException.getMessage()
method.public LoginException(String message, Throwable rootCause)
message
- the detail message. The detail message is saved for
later retrieval by the RepositoryException.getMessage()
method.rootCause
- root failure causepublic LoginException(Throwable rootCause)
rootCause
- root failure causeCopyright © 2004-2013 Day Management AG. All Rights Reserved.