1 57 58 package org.apache.wsif; 59 60 import java.rmi.RemoteException ; 61 import org.apache.wsif.logging.Trc; 62 63 74 public class WSIFException extends RemoteException { 75 private static final long serialVersionUID = 1L; 76 77 public WSIFException(String msg) { 78 super(msg); 79 Trc.entry(this,msg); 80 Trc.exit(); 81 } 82 83 public WSIFException(String msg, Throwable targetException) { 84 this(msg); 85 Trc.entry(this,msg,targetException); 86 this.detail = targetException; 87 Trc.exit(); 88 } 89 90 public void setTargetException(Throwable targetException) { 91 Trc.entry(this,targetException); 92 this.detail = targetException; 93 Trc.exit(); 94 } 95 96 public Throwable getTargetException() { 97 Trc.entry(this); 98 Trc.exit(detail); 99 return detail; 100 } 101 102 } 117 | Popular Tags |