return new CompilerError( file, type.equals( "error" ), startline, startcolumn, endline, endcolumn, message );
return new CompilerError( file, type.indexOf( "Error" ) > -1, startline, startcolumn, endline, endcolumn, message );
    private CompilerError parseError( String error )    {        String[] errorBits = StringUtils.split( error, ":" );        int i;        String file;        if (System.getProperty("os.name").startsWith("Windows"))        {            file = errorBits[0] + ":" + errorBits[1];            i = 2;        }        else        {            file = errorBits[0];            i = 1;        }        int startline = Integer.parseInt( errorBits[i++] );        int startcolumn = Integer.parseInt( errorBits[i++] );        int endline = Integer.parseInt( errorBits[i++] );        int endcolumn = Integer.parseInt( errorBits[i++] );        String type = errorBits[i++];        String message = errorBits[i];        return new CompilerError( file, type.equals( "error" ), startline, startcolumn, endline, endcolumn, message );    }