public UPnPStatus getUPnPError() { int code = 0; String desc = ""; code = getUPnPErrorCode(); desc = getUPnPErrorDescription(); upnpErr.setCode(code); upnpErr.setDescription(desc); return upnpErr; }
public void setFaultResponse(int errCode) { setFaultResponse(errCode, UPnPStatus.code2String(errCode)); }