Coverage Summary for Class: PersismException (net.sf.persism)
Class |
Class, %
|
Method, %
|
Line, %
|
PersismException |
100%
(1/1)
|
100%
(2/2)
|
100%
(2/2)
|
1 package net.sf.persism;
2
3 /**
4 * General RuntimeException used by Persism. Note that Persism will rollback transactions if the exception is an SQLException.
5 *
6 * @author Dan Howard
7 * @since 9/8/11 6:41 AM
8 *
9 */
10 public final class PersismException extends RuntimeException {
11
12 private static final long serialVersionUID = 3629404706918664936L;
13
14 /**
15 * PersismException with a message
16 * @param message message string
17 */
18 public PersismException(String message) {
19 this(message, new Throwable(message));
20 }
21
22 /**
23 * PersismException with a message and a cause
24 * @param message message string
25 * @param cause Throwable cause
26 */
27 public PersismException(String message, Throwable cause) {
28 super(message, cause);
29 }
30
31 }