View Javadoc

1   package org.saf.struts.exception;
2   
3   /***
4    * SafAuthorizationException can be thrown if error are been thrown when
5    * performing operations on Principal object.
6    *
7    * @author Wim Tobback
8    * @version 1.0
9    *
10   * @since 1.0
11   */
12  public class SafAuthorizationException extends SafException {
13      private static final long serialVersionUID = 1L;
14  
15      /***
16       * Creates a new SafPrincipalException object.
17       */
18      public SafAuthorizationException() {
19          super(
20              "General error occurs while performing business logic on a Principal object");
21      }
22  
23      /***
24       * Creates a new SafAuthorizationException object.
25       *
26       * @param msg The error message.
27       * @param throwable The throwable object.
28       */
29      public SafAuthorizationException(String msg, Throwable throwable) {
30          super(msg, throwable);
31      }
32  
33      /***
34       * Creates a new SafAuthorizationException object.
35       *
36       * @param msg The error message.
37       */
38      public SafAuthorizationException(String msg) {
39          super(msg);
40      }
41  
42      /***
43       * Creates a new SafAuthorizationException object.
44       *
45       * @param throwable The throwable object.
46       */
47      public SafAuthorizationException(Throwable throwable) {
48          super(throwable);
49      }
50  }