1 16 package javax.xml.rpc; 17 18 25 public class JAXRPCException extends RuntimeException { 26 27 29 30 Throwable cause; 31 32 36 public JAXRPCException() {} 37 38 45 public JAXRPCException(String message) { 46 super(message); 47 } 48 49 58 public JAXRPCException(String message, Throwable cause) { 59 super(message); 60 this.cause = cause; 61 } 62 63 75 public JAXRPCException(Throwable cause) { 76 super( (cause == null) ? null : cause.toString() ); 77 this.cause = cause; 78 } 79 80 86 public Throwable getLinkedCause() { 87 return cause; 88 } 89 90 } 91 | Popular Tags |