01: /*
02: * Copyright 2006 Davide Deidda
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16:
17: /*
18: * Created on 16-gen-2004
19: *
20: * PersistenceException.java
21: */
22:
23: package it.biobytes.ammentos;
24:
25: /**
26: * An exception in the persistence framework
27: *
28: * @author Davide Deidda
29: */
30: public class PersistenceException extends Exception {
31:
32: /**
33: *
34: */
35: public PersistenceException(String msg) {
36: super (msg);
37: }
38:
39: public PersistenceException(Throwable cause) {
40: super(cause);
41: }
42:
43: }
|