View Javadoc

1   /*
2    * This file is a part of CAST project.
3    * (c) Copyright 2007, AGH University of Science & Technology
4    * https://caribou.iisg.agh.edu.pl/trac/cast
5    *
6    * Licensed under the Eclipse Public License, Version 1.0 (the "License").
7    * You may not use this file except in compliance with the License.
8    * You may obtain a copy of the License at
9    * http://www.eclipse.org/legal/epl-v10.html
10   */
11  /*
12   * File: PersistenceException.java
13   * Created: 2009-09-15
14   * Author: tmilos
15   * $Id$
16   */
17  
18  package pl.edu.agh.cast.data.persistence;
19  
20  /**
21   * Persistence related checked exception.
22   *
23   * @author AGH CAST Team
24   */
25  public class PersistenceException extends Exception {
26  
27  	/**
28  	 * Serial version UID.
29  	 */
30  	private static final long serialVersionUID = -5315434022956713657L;
31  
32  	/**
33  	 * Default constructor.
34  	 */
35  	public PersistenceException() {
36  	}
37  
38  	/**
39  	 * Constructor.
40  	 *
41  	 * @param message
42  	 *            message
43  	 */
44  	public PersistenceException(String message) {
45  		super(message);
46  	}
47  
48  	/**
49  	 * Constructor.
50  	 *
51  	 * @param cause
52  	 *            exception cause
53  	 */
54  	public PersistenceException(Throwable cause) {
55  		super(cause);
56  	}
57  
58  	/**
59  	 * Constructor.
60  	 *
61  	 * @param message
62  	 *            message
63  	 * @param cause
64  	 *            exception cause
65  	 */
66  	public PersistenceException(String message, Throwable cause) {
67  		super(message, cause);
68  	}
69  
70  }