View Javadoc

1   package org.astrogrid.security;
2   
3   /***
4    * Exception to be thrown when no credentials are found.
5    * This could be used in a handler looking for credentials
6    * in message, in code attempting authentication, or in
7    * code trying to send an authenticated message.  The
8    * message in the exception should make clear the context.
9    *
10   * @author Guy Rixon
11   */
12  public class NoCredentialsException extends SecurityException {
13  
14    public NoCredentialsException (String message) {
15      super(message);
16    }
17  
18    public NoCredentialsException (String message, Throwable t) {
19      super(message, t);
20    }
21  
22  }