KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > inversoft > verge > repository > RepositoryException


1 /*
2  * Copyright (c) 2003, Inversoft
3  *
4  * This software is distribuable under the GNU Lesser General Public License.
5  * For more information visit gnu.org.
6  */

7 package com.inversoft.verge.repository;
8
9
10 /**
11  * This is the exception that the WebRepository throws when errors occur.
12  * This exception is not a checked exception so that code is reduced, but
13  * the errors can be debugged during development
14  *
15  * @author Brian Pontarelli
16  */

17 public class RepositoryException extends RuntimeException JavaDoc {
18
19     /**
20      * Constructs a new empty <code>RepositoryException</code>
21      */

22     public RepositoryException() {
23         super();
24     }
25
26     /**
27      * Constructs a new <code>RepositoryException</code> with the given error
28      * message.
29      *
30      * @param message The error message
31      */

32     public RepositoryException(String JavaDoc message) {
33         super(message);
34     }
35
36     /**
37      * Constructs a new <code>RepositoryException</code> with the given error
38      * message and root cause throwable.
39      *
40      * @param message The error message
41      * @param cause The root cause throwable
42      */

43     public RepositoryException(String JavaDoc message, Throwable JavaDoc cause) {
44         super(message, cause);
45     }
46
47     /**
48      * Constructs a new <code>RepositoryException</code> with the given root
49      * cause throwable.
50      *
51      * @param cause The root cause throwable
52      */

53     public RepositoryException(Throwable JavaDoc cause) {
54         super(cause);
55     }
56 }
57
Popular Tags