View Javadoc
1   package org.andromda.core.repository;
2   
3   /**
4    * An exception thrown whenever an unexpected occurs while configuring
5    * a repository instance.
6    *
7    * @author Chad Brandon
8    * @author Bob Fields
9    */
10  public final class RepositoryException
11      extends RuntimeException
12  {
13      private static final long serialVersionUID = 34L;
14  
15      /**
16       * Constructor for the RepositoryException object
17       *
18       * @param message describes cause of the exception
19       */
20      public RepositoryException(String message)
21      {
22          super(message);
23      }
24  
25      /**
26       * Constructor for the RepositoryException object
27       *
28       * @param parent describes cause of the exception
29       */
30      public RepositoryException(final Throwable parent)
31      {
32          super(parent);
33      }
34  
35      /**
36       * Constructor for the RepositoryException object
37       *
38       * @param message describes cause of the exception
39       * @param cause original exception that caused this exception
40       */
41      public RepositoryException(
42          String message,
43          Throwable cause)
44      {
45          super(message, cause);
46      }
47  }