(String s)
| 192 | } |
| 193 | |
| 194 | private boolean getYesNo(String s) throws ParseException { |
| 195 | try { |
| 196 | return StringUtil.getYesNo(s); |
| 197 | } |
| 198 | catch (IllegalArgumentException iae) { |
| 199 | throw new ParseException("Error " + getStartLocation() |
| 200 | + "\nValue of include parse parameter " |
| 201 | + "must be boolean or one of these strings: " |
| 202 | + "\"n\", \"no\", \"f\", \"false\", \"y\", \"yes\", \"t\", \"true\"" |
| 203 | + "\nFound: " + parseExp, parseExp); |
| 204 | } |
| 205 | } |
| 206 | |
| 207 | /* |
| 208 | boolean heedsOpeningWhitespace() { |
no test coverage detected