public class UsernameNotFoundException extends AuthenticationException
UserDetailsService implementation cannot locate a User by
its username.| Constructor and Description |
|---|
UsernameNotFoundException(String msg)
Constructs a
UsernameNotFoundException with the specified message. |
UsernameNotFoundException(String msg,
Throwable t)
Constructs a
UsernameNotFoundException with the specified message and root
cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UsernameNotFoundException(String msg)
UsernameNotFoundException with the specified message.msg - the detail message.