01: /**********************************************************************
02: Copyright (c) 2003 Erik Bengtson and others. All rights reserved.
03: Licensed under the Apache License, Version 2.0 (the "License");
04: you may not use this file except in compliance with the License.
05: You may obtain a copy of the License at
06:
07: http://www.apache.org/licenses/LICENSE-2.0
08:
09: Unless required by applicable law or agreed to in writing, software
10: distributed under the License is distributed on an "AS IS" BASIS,
11: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12: See the License for the specific language governing permissions and
13: limitations under the License.
14:
15: Contributors:
16: 2003 Andy Jefferson - coding standards
17: ...
18: **********************************************************************/package org.jpox.store.poid;
19:
20: import org.jpox.exceptions.JPOXException;
21:
22: /**
23: * General class to throw exceptions in generators
24: *
25: * @version $Revision: 1.4 $
26: */
27: public class PoidException extends JPOXException {
28: /**
29: * Constructor
30: * @param message a localised message
31: */
32: public PoidException(String message) {
33: super (message);
34: }
35:
36: /**
37: * Constructor
38: * @param message a localised message
39: * @param nested the nested exception
40: */
41: public PoidException(String message, Throwable nested) {
42: super(message, nested);
43: }
44: }
|