1 15 package org.apache.tapestry.contrib.ejb; 16 17 import javax.ejb.RemoveException ; 18 19 25 26 public class XRemoveException extends RemoveException  27 { 28 private Throwable rootCause; 29 30 public XRemoveException(String message) 31 { 32 super(message); 33 } 34 35 public XRemoveException(String message, Throwable rootCause) 36 { 37 super(message); 38 39 this.rootCause = rootCause; 40 } 41 42 public XRemoveException(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 |