public int warningCount()
    {
        return warnings;
    }
The count of warnings encountered.

@return the count of warnings encountered.
sbe-tool/src/main/java/uk/co/real_logic/sbe/xml/ErrorHandler.java