1 18 package org.objectweb.perseus.pool.api; 19 20 24 public class PoolException extends Exception { 25 protected Exception nestedException = null; 26 27 public PoolException() { 28 super(); 29 } 30 31 public PoolException(String msg) { 32 super(msg); 33 } 34 35 public PoolException(Exception nested) { 36 super(); 37 nestedException = nested; 38 } 39 40 public PoolException(String msg, Exception nested) { 41 super(msg); 42 nestedException = nested; 43 } 44 45 public Exception getNestedException() { 46 return nestedException; 47 } 48 } 49 | Popular Tags |