ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48835] New: StringUtils.parseHumanSizes() should turn parse failures into BuildExceptions
Date Mon, 01 Mar 2010 16:52:17 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48835

           Summary: StringUtils.parseHumanSizes() should turn parse
                    failures into BuildExceptions
           Product: Ant
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core
        AssignedTo: notifications@ant.apache.org
        ReportedBy: stevel@apache.org


The "human readable" size parser throws NumberFormatException when there is a
problem; this can get wrapped and the root cause lost. 
Better to catch the problem and report it as a BuildException

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message