Пример #1
0
  public UPnPStatus getUPnPError() {
    int code = 0;
    String desc = "";

    code = getUPnPErrorCode();
    desc = getUPnPErrorDescription();
    upnpErr.setCode(code);
    upnpErr.setDescription(desc);

    return upnpErr;
  }
Пример #2
0
 public void setFaultResponse(int errCode) {
   setFaultResponse(errCode, UPnPStatus.code2String(errCode));
 }