View Javadoc

1   /** 2007, Digitalis Informatica. All rights reserved.
2    * 
3    * Distribuicao e Gestao de Informatica, Lda.
4    * Estrada de Paco de Arcos num.9 - Piso -1
5    * 2780-666 Paco de Arcos
6    * Telefone: (351) 21 4408990
7    * Fax: (351) 21 4408999
8    * http://www.digitalis.pt 
9    */
10  
11  package pt.digitalis.dif.exception.security;
12  
13  import pt.digitalis.dif.exception.DIFException;
14  
15  /**
16   * Authentication manager related exception.
17   * 
18   * @author Rodrigo Gonçalves <a href="mailto:rgoncalves@digitalis.pt">rgoncalves@digitalis.pt</a><br/>
19   * @created 2008/04/21
20   */
21  public class AuthenticationManagerException extends DIFException {
22  
23      /** The serial ID. */
24      final static private long serialVersionUID = 1L;
25  
26      /**
27       * Constructs a new AuthenticationManagerException that wraps a Java Exception.
28       * 
29       * @param exception
30       *            the exception to encapsulate.
31       */
32      public AuthenticationManagerException(Exception exception) {
33          super(exception);
34      }
35  
36      /**
37       * Constructs a new AuthenticationManagerException from a reason and a Java Exception.
38       * 
39       * @param reason
40       *            the exception reason.
41       * @param exception
42       *            the exception to encapsulate.
43       */
44      public AuthenticationManagerException(String reason, Exception exception) {
45          super(reason, exception);
46      }
47  
48      /**
49       * Constructs a new AuthenticationManagerException from a reason.
50       * 
51       * @param reason
52       *            the exception reason.
53       */
54      public AuthenticationManagerException(String reason) {
55          super(reason);
56      }
57  }