javax.jcr.LoginException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aem-sdk-api Show documentation
Show all versions of aem-sdk-api Show documentation
The Adobe Experience Manager SDK
/*
* Copyright 2009 Day Management AG, Switzerland. All rights reserved.
*/
package javax.jcr;
/**
* Exception thrown by {@link Repository#login(Credentials,
* String)}
and {@link Session#impersonate(Credentials)}
if
* the specified credentials are invalid.
*/
public class LoginException extends RepositoryException {
/**
* Constructs a new instance of this class with null
as its
* detail message.
*/
public LoginException() {
super();
}
/**
* Constructs a new instance of this class with the specified detail
* message.
*
* @param message the detail message. The detail message is saved for later
* retrieval by the {@link #getMessage()} method.
*/
public LoginException(String message) {
super(message);
}
/**
* Constructs a new instance of this class with the specified detail message
* and root cause.
*
* @param message the detail message. The detail message is saved for later
* retrieval by the {@link #getMessage()} method.
* @param rootCause root failure cause
*/
public LoginException(String message, Throwable rootCause) {
super(message, rootCause);
}
/**
* Constructs a new instance of this class with the specified root cause.
*
* @param rootCause root failure cause
*/
public LoginException(Throwable rootCause) {
super(rootCause);
}
}