public class UsernameNotFoundException extends AuthenticationException
UserDetailsService implementation cannot locate a User by
its username.| Constructor and Description |
|---|
UsernameNotFoundException(java.lang.String msg)
Constructs a
UsernameNotFoundException with the specified message. |
UsernameNotFoundException(java.lang.String msg,
java.lang.Throwable t)
Constructs a
UsernameNotFoundException with the specified message and root
cause. |
public UsernameNotFoundException(java.lang.String msg)
UsernameNotFoundException with the specified message.msg - the detail message.public UsernameNotFoundException(java.lang.String msg,
java.lang.Throwable t)
UsernameNotFoundException with the specified message and root
cause.msg - the detail message.t - root cause