1 16 package org.apache.juddi.datatype.response; 17 18 import org.apache.juddi.datatype.RegistryObject; 19 20 25 public class ErrInfo implements RegistryObject 26 { 27 String errCode; 28 String errMsg; 29 30 33 public ErrInfo() 34 { 35 } 36 37 40 public ErrInfo(String code) 41 { 42 setErrCode(code); 43 } 44 45 48 public ErrInfo(String code,String msg) 49 { 50 setErrCode(code); 51 setErrMsg(msg); 52 } 53 54 58 public void setErrCode(String code) 59 { 60 this.errCode = code; 61 } 62 63 67 public String getErrCode() 68 { 69 return this.errCode; 70 } 71 72 76 public void setErrMsg(String msg) 77 { 78 this.errMsg = msg; 79 } 80 81 85 public String getErrMsg() 86 { 87 return this.errMsg; 88 } 89 } 90 | Popular Tags |