01: /*--------------------------------------------------------------------------*
02: | Copyright (C) 2006 Christopher Kohlhaas |
03: | |
04: | This program is free software; you can redistribute it and/or modify |
05: | it under the terms of the GNU General Public License as published by the |
06: | Free Software Foundation. A copy of the license has been included with |
07: | these distribution in the COPYING file, if not go to www.fsf.org |
08: | |
09: | As a special exception, you are granted the permissions to link this |
10: | program with every library, which license fulfills the Open Source |
11: | Definition as published by the Open Source Initiative (OSI). |
12: *--------------------------------------------------------------------------*/
13: package org.rapla.framework;
14:
15: import org.apache.avalon.framework.CascadingException;
16:
17: /** the base-class for all Rapla specific Exceptions */
18: public class RaplaException extends CascadingException {
19: private static final long serialVersionUID = 1L;
20:
21: public RaplaException(String text) {
22: super (text);
23: }
24:
25: public RaplaException(Throwable throwable) {
26: super (throwable.getMessage(), throwable);
27: }
28:
29: public RaplaException(String text, Throwable ex) {
30: super(text, ex);
31: }
32:
33: }
|