View Javadoc

1    /****************************************************************************
2    * Copyright (c) 2005, 2006, 2007, 2008, 2009 Imola Informatica.
3    * All rights reserved. This program and the accompanying materials
4    * are made available under the terms of the LGPL License v2.1
5    * which accompanies this distribution, and is available at
6    * http://www.gnu.org/licenses/lgpl.html
7    ****************************************************************************/
8   
9   package it.imolinfo.jbi4corba.exception;
10  
11  /**
12   * The exception used when there is an error during the class generation phase.
13   */
14  public class ClassGenerationException extends Jbi4CorbaException {
15  
16      /**
17       * Serial Version UID.
18       */
19      private static final long serialVersionUID = -9052085981255532462L;
20  
21      /**
22       * A constructor.
23       *
24       * @param message
25       *            The message of the exception.
26       */
27      public ClassGenerationException(final String message) {
28          super(message);
29      }
30  
31      /**
32       * A constructor.
33       *
34       * @param message
35       *            The message of the exception.
36       * @param cause
37       *            The cause of the exception.
38       */
39      public ClassGenerationException(final String message,
40                                      final Throwable cause) {
41          super(message, cause);
42      }
43  
44      /**
45       * A constructor.
46       *
47       * @param cause
48       *            The cause of the exception.
49       */
50      public ClassGenerationException(final Throwable cause) {
51          super(cause);
52      }
53  
54      /**
55       * 
56       * @param format  The format
57       * @param args    The argoments
58       * @param cause   The cause
59       */
60      public ClassGenerationException(
61              final String format, final Object[] args, final Throwable cause) {
62          super(format, args, cause);
63      }
64    
65      /**
66       * 
67       * @param format  The format
68       * @param args    The argoments
69       */
70      public ClassGenerationException(
71              final String format, final Object[] args) {
72          super(format, args);
73      }    
74  }