1 16 package javax.xml.rpc; 17 18 26 public class ServiceException extends Exception { 27 28 30 31 Throwable cause; 32 33 37 public ServiceException() {} 38 39 46 public ServiceException(String message) { 47 super(message); 48 } 49 50 60 public ServiceException(String message, Throwable cause) { 61 super(message); 62 this.cause = cause; 63 } 64 65 77 public ServiceException(Throwable cause) { 78 super( (cause == null) ? null : cause.toString() ); 79 this.cause = cause; 80 } 81 82 88 public Throwable getLinkedCause() { 89 return cause; 90 } 91 92 } 93 | Popular Tags |