View Javadoc
1   package org.andromda.core.common;
2   
3   /**
4    * Wraps any exception that occurs when merging.
5    *
6    * @see org.andromda.core.common.Merger
7    */
8   public class MergerException
9       extends RuntimeException
10  {
11      private static final long serialVersionUID = 34L;
12  
13      /**
14       * Constructs an instance of MergerException.
15       *
16       * @param parent the parent throwable
17       */
18      public MergerException(Throwable parent)
19      {
20          super(parent);
21      }
22  
23      /**
24       * Constructs an instance of MergerException.
25       *
26       * @param message the exception message
27       */
28      public MergerException(String message)
29      {
30          super(message);
31      }
32  
33      /**
34       * Constructs an instance of MergerException.
35       *
36       * @param message the exception message
37       * @param parent the parent throwable
38       */
39      public MergerException(
40          String message,
41          Throwable parent)
42      {
43          super(message, parent);
44      }
45  }