java.lang.Object | |||||
↳ | java.lang.Throwable | ||||
↳ | java.lang.Exception | ||||
↳ | java.lang.RuntimeException | ||||
↳ | org.springframework.security.core.AuthenticationException | ||||
↳ | org.springframework.security.core.userdetails.UsernameNotFoundException |
Thrown if an UserDetailsService
implementation cannot locate a User
by its username.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a
UsernameNotFoundException with the specified
message. | |||||||||||
Constructs a
UsernameNotFoundException , making use of the extraInformation
property of the superclass. | |||||||||||
Constructs a
UsernameNotFoundException with the specified message and root cause. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.security.core.AuthenticationException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
|
Constructs a UsernameNotFoundException
with the specified
message.
msg | the detail message. |
---|
Constructs a UsernameNotFoundException
, making use of the extraInformation
property of the superclass.
msg | the detail message |
---|---|
extraInformation | additional information such as the username. |
Constructs a UsernameNotFoundException
with the specified message and root cause.
msg | the detail message. |
---|---|
t | root cause |