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