Package nu.fw.jeti.jabber.elements

Examples of nu.fw.jeti.jabber.elements.XMPPError.addError()


  }
 
  private void sendError()
  {
    XMPPError error = new XMPPError("cancel",404);
    error.addError(new XMPPErrorTag("item-not-found"));
    backend.send(new InfoQuery(iq.getFrom(),iq.getID(),error));
  }
   
 
}
View Full Code Here


        return message;
    }
  
    private static XMPPError createError(String errorMessage) {
       XMPPError error = new XMPPError("cancel",404);
       error.addError(new XMPPErrorTag(errorMessage,NAMESPACE));
       return error;
    }
   
  
    /**
 
View Full Code Here

          Log.xmlReceivedError("ibb stream init from unknown");
        }
        else
        {
          XMPPError e = new XMPPError("cancel",501);
          e.addError(new XMPPErrorTag("feature-not-implemented"));
          backend.send(new InfoQuery(iq.getFrom(),iq.getID(),e));
        }
      }
      if(isClose())
      {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.