1 15 package org.apache.tapestry.contrib.ejb; 16 17 import javax.ejb.FinderException ; 18 19 25 26 public class XFinderException extends FinderException  27 { 28 private Throwable rootCause; 29 30 public XFinderException(String message) 31 { 32 super(message); 33 } 34 35 public XFinderException(String message, Throwable rootCause) 36 { 37 super(message); 38 39 this.rootCause = rootCause; 40 } 41 42 public XFinderException(Throwable rootCause) 43 { 44 super(rootCause.getMessage()); 45 46 this.rootCause = rootCause; 47 } 48 49 public Throwable getRootCause() 50 { 51 return rootCause; 52 } 53 } | Popular Tags |