View Javadoc

1   /**
2    * 2010, Digitalis Informatica. All rights reserved. Distribuicao e Gestao de Informatica, Lda. Estrada de Paco de Arcos
3    * num.9 - Piso -1 2780-666 Paco de Arcos Telefone: (351) 21 4408990 Fax: (351) 21 4408999 http://www.digitalis.pt
4    */
5   
6   package pt.digitalis.dif.exception;
7   
8   /**
9    * The base class for all user defined business exception. DIF will process these errors and report them in a controlled
10   * fashion to the user
11   * 
12   * @author Pedro Viegas <a href="mailto:pviegas@digitalis.pt">pviegas@digitalis.pt</a><br/>
13   * @created 2010/05/06
14   */
15  public abstract class AbstractCustomBusinessException extends Exception {
16  
17      /**  */
18      private static final long serialVersionUID = -2561786144839344787L;
19  
20      /** The message title for presentation purposes */
21      private String messageTitle = null;
22  
23      /**
24       *
25       */
26      public AbstractCustomBusinessException()
27      {
28          super();
29      }
30  
31      /**
32       * @param arg0
33       */
34      public AbstractCustomBusinessException(String arg0)
35      {
36          super(arg0);
37      }
38  
39      /**
40       * @param arg0
41       * @param arg1
42       */
43      public AbstractCustomBusinessException(String arg0, Throwable arg1)
44      {
45          super(arg0, arg1);
46      }
47  
48      /**
49       * @param arg0
50       */
51      public AbstractCustomBusinessException(Throwable arg0)
52      {
53          super(arg0);
54      }
55  
56      /**
57       * Inspector for the 'messageTitle' attribute.
58       * 
59       * @return the messageTitle value
60       */
61      public String getMessageTitle()
62      {
63          return messageTitle;
64      }
65  
66      /**
67       * Modifier for the 'messageTitle' attribute.
68       * 
69       * @param messageTitle
70       *            the new messageTitle value to set
71       */
72      public void setMessageTitle(String messageTitle)
73      {
74          this.messageTitle = messageTitle;
75      }
76  
77  }