1 22 package org.jboss.invocation; 23 24 25 31 public class InvocationException 32 extends Exception  33 { 34 private Throwable cause = null; 35 36 public InvocationException(Throwable cause) 37 { 38 super(); 39 this.cause = cause; 40 } 41 42 public InvocationException(String msg, Throwable cause) 43 { 44 super(msg); 45 this.cause = cause; 46 } 47 48 public Throwable getTargetException() 49 { 50 return cause; 51 } 52 53 } 54 | Popular Tags |