code: private void checkForTerminalBindingConditions(
              final AbstractBody body,
              final int code)
              throws BOSHException {
          TerminalBindingCondition cond =
                  getTerminalBindingCondition(code, body);
          if (cond != null) {
              throw(new BOSHException(
                      "Terminal binding condition encountered: "
                      + cond.getCondition() + "  ("
                      + cond.getMessage() + ")"));
          }
      }
docs: Checks to see if the response indicates a terminal binding condition
  (as per XEP-0124 section 17).  If it does, an exception is thrown.
  
  @param body response body to evaluate
  @param code HTTP response code
  @throws BOSHException if a terminal binding condition is detected