1
2
3
4
5 package xjavadoc;
6
7 /***
8 * @author Aslak Hellesøy
9 * @created 19. februar 2002
10 */
11 public class XJavaDocException extends Exception
12 {
13
14 /***
15 * @todo-javadoc Describe the field
16 */
17 private Throwable _source;
18
19 /***
20 * Describe what the XJavaDocException constructor does
21 *
22 * @param source Describe what the parameter does
23 * @todo-javadoc Write javadocs for constructor
24 * @todo-javadoc Write javadocs for method parameter
25 */
26 public XJavaDocException( Throwable source )
27 {
28 this( source.getMessage() );
29 _source = source;
30 }
31
32 /***
33 * Describe what the XJavaDocException constructor does
34 *
35 * @param message Describe what the parameter does
36 * @todo-javadoc Write javadocs for constructor
37 * @todo-javadoc Write javadocs for method parameter
38 */
39 public XJavaDocException( String message )
40 {
41 super( message );
42 }
43
44 /***
45 * Gets the Source attribute of the XJavaDocException object
46 *
47 * @return The Source value
48 */
49 public Throwable getSource()
50 {
51 return _source;
52 }
53 }
54