View Javadoc
1   package net.avcompris.commons3.api.exception;
2   
3   import javax.annotation.Nullable;
4   
5   public final class UsernameNotFoundException extends ServiceException {
6   
7   	private static final long serialVersionUID = 3850340613551420259L;
8   
9   	public UsernameNotFoundException(@Nullable final String username) {
10  
11  		super(404, "Username cannot be found in the database: " + username);
12  	}
13  }