code: public static void checkForErrors(Object xmlRpcResponse) throws GreenPepperServerException
      {
          if (xmlRpcResponse instanceof Vector)
          {
              Vector temp = (Vector)xmlRpcResponse;
              if(!temp.isEmpty())
              {
                  checkErrors(temp.elementAt(0));
              }
          }
          else if (xmlRpcResponse instanceof Hashtable)
          {
              Hashtable table = (Hashtable)xmlRpcResponse;
              if(!table.isEmpty())
              {
                  checkForErrors(table.get(GreenPepperServerErrorKey.ERROR));
              }
          }
          else
          {
              checkErrors(xmlRpcResponse);
          }
      }
docs: Checks if the XML-RPC response is an GreenPepper server Exception.
  If so an GreenPepperServerException will be thrown with the error id found.
  </p>
  
  @param xmlRpcResponse a {@link java.lang.Object} object.
  @throws com.greenpepper.server.GreenPepperServerException if any.