1 24 25 package com.rift.coad.lib.webservice; 27 28 import com.rift.coad.lib.httpd.MimeTypes; 30 31 37 public class WebServiceException extends java.lang.Exception { 38 39 private String encoding = MimeTypes.PLAIN; 40 41 46 public WebServiceException(String msg) { 47 super(msg); 48 } 49 50 51 57 public WebServiceException(String msg, String encoding) { 58 super(msg); 59 this.encoding = encoding; 60 } 61 62 63 69 public WebServiceException(String msg,Throwable ex) { 70 super(msg,ex); 71 } 72 73 74 81 public WebServiceException(String msg,String encoding,Throwable ex) { 82 super(msg,ex); 83 this.encoding = encoding; 84 } 85 86 87 92 public String getEncoding() { 93 return encoding; 94 } 95 } 96 | Popular Tags |