01: package org.andromda.core.repository;
02:
03: /**
04: * An exception thrown whenever an unexpected occurs while configuring
05: * a repository instance.
06: *
07: * @author Chad Brandon
08: */
09: public final class RepositoryException extends RuntimeException {
10: /**
11: * Constructor for the RepositoryException object
12: *
13: * @param message describes cause of the exception
14: */
15: public RepositoryException(String message) {
16: super (message);
17: }
18:
19: /**
20: * Constructor for the RepositoryException object
21: *
22: * @param message describes cause of the exception
23: */
24: public RepositoryException(final Throwable parent) {
25: super (parent);
26: }
27:
28: /**
29: * Constructor for the RepositoryException object
30: *
31: * @param message describes cause of the exception
32: * @param cause original exception that caused this exception
33: */
34: public RepositoryException(String message, Throwable cause) {
35: super(message, cause);
36: }
37: }
|