|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.shiro.ShiroException
org.apache.shiro.authc.AuthenticationException
org.apache.shiro.authc.AccountException
org.apache.shiro.authc.UnknownAccountException
public class UnknownAccountException
Thrown when attempting to authenticate with a principal that doesn't exist in the system (e.g. by specifying a username that doesn't relate to a user account).
Whether or not an application wishes to alert a user logging in to the system of this fact is at the discretion of those responsible for designing the view and what happens when this exception occurs.
| Constructor Summary | |
|---|---|
UnknownAccountException()
Creates a new UnknownAccountException. |
|
UnknownAccountException(String message)
Constructs a new UnknownAccountException. |
|
UnknownAccountException(String message,
Throwable cause)
Constructs a new UnknownAccountException. |
|
UnknownAccountException(Throwable cause)
Constructs a new UnknownAccountException. |
|
| 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 UnknownAccountException()
public UnknownAccountException(String message)
message - the reason for the exceptionpublic UnknownAccountException(Throwable cause)
cause - the underlying Throwable that caused this exception to be thrown.
public UnknownAccountException(String message,
Throwable cause)
message - the reason for the exceptioncause - the underlying Throwable that caused this exception to be thrown.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||