Coverage Summary for Class: PersismException (net.sf.persism)
| Class | Class, % | Method, % | Line, % |
|---|---|---|---|
| PersismException | 100% (1/1) | 66.7% (2/3) | 66.7% (2/3) |
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 private PersismException() { 15 } 16 17 public PersismException(String message) { 18 this(message, new Throwable(message)); 19 } 20 21 public PersismException(String message, Throwable cause) { 22 super(message, cause); 23 } 24 25 }