Source code: recoin/exception/ClassLoadingException.java
1
2 package recoin.exception;
3
4
5 /**
6 * A ClassLoadingException can be thrown whenever a Class is supposed to be loaded and
7 * instantiated dynamically with the help of its classname.
8 * <br><br>
9 * Because this mechanism covers several steps, a ClassLoadingException represents different
10 * exceptions that can occur during the process, e.g. an InstantiationException or a
11 * ClassNotFoundException.
12 * @author Jan H. Scheufen
13 * @version 0.2.9
14 */
15 public class ClassLoadingException extends RECOINException
16 {
17
18 /**
19 * Creates a new ClassLoadingException
20 */
21 public ClassLoadingException()
22 {
23 super();
24 }
25
26 /**
27 * Creates a new ClassLoadingException with the specified message.
28 * @param msg the error message
29 */
30 public ClassLoadingException(String msg)
31 {
32 super(msg);
33 }
34 /**
35 * Creates a new ClassLoadingException with the specified original exception and the
36 * specified message.
37 * @param msg an additional message
38 * @param e the original exception that was thrown
39 */
40 public ClassLoadingException(String msg, Exception e)
41 {
42 super(msg, e);
43 }
44 }