",handle=" + newHandle);
",handle=" + c.handle);
    public static Community create(Context context)        throws SQLException, AuthorizeException    {        // Only administrators can create communities        if (!AuthorizeManager.isAdmin(context))        {            throw new AuthorizeException(                "Only administrators can create communities");        }        TableRow row = DatabaseManager.create(context, "community");        Community c = new Community(context, row);        String newHandle = HandleManager.createHandle(context, c);        // create the default authorization policy for communities        // of 'anonymous' READ        Group anonymousGroup = Group.find(context, 0);        ResourcePolicy myPolicy = ResourcePolicy.create(context);        myPolicy.setResource( c );        myPolicy.setAction  ( Constants.READ );        myPolicy.setGroup   ( anonymousGroup );        myPolicy.update();        HistoryManager.saveHistory(context,            c,            HistoryManager.CREATE,            context.getCurrentUser(),            context.getExtraLogInfo());        log.info(LogManager.getHeader(context,            "create_community",            "community_id=" + row.getIntColumn("community_id")) +            ",handle=" + newHandle);        return c;    }