|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.apache.sling.api.resource.LoginException
public class LoginException
Exception thrown by
,
ResourceResolverFactory.getAdministrativeResourceResolver(java.util.Map)
, and ResourceResolverFactory.getResourceResolver(java.util.Map)
if a resource
resolver cannot be created because the credential data is not valid.
ResourceResolver.clone(java.util.Map)
Constructor Summary | |
---|---|
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. |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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 Throwable.getMessage()
method.public LoginException(String message, Throwable rootCause)
message
- the detail message. The detail message is saved for later
retrieval by the Throwable.getMessage()
method.rootCause
- root failure causepublic LoginException(Throwable rootCause)
rootCause
- root failure cause
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |