public static boolean isConnectorError(int code)
public boolean isConnectorError()
   public static boolean isConnectorError(int code)   {      boolean result = false;      switch(code)      {         case 1000:         case 1001:         case 1002:            result = true;         break;      }      return result;   }