(CssException e)
| 107 | .compile("Token '[0-9]+%' not allowed here"); |
| 108 | |
| 109 | @Override |
| 110 | public void error(CssException e) |
| 111 | throws CssException |
| 112 | { |
| 113 | String message = e.getMessage(); |
| 114 | |
| 115 | if (inKeyFrames) |
| 116 | { |
| 117 | Matcher m = invalidTokenStringFinder.matcher(message); |
| 118 | if (m.matches()) |
| 119 | { |
| 120 | return; |
| 121 | } |
| 122 | } |
| 123 | CssLocation location = e.getLocation(); |
| 124 | report.message(MessageId.CSS_008, |
| 125 | getCorrectedEPUBLocation(location.getLine(), location.getColumn(), null), e.getMessage()); |
| 126 | } |
| 127 | |
| 128 | @Override |
| 129 | public void startDocument() |
nothing calls this directly
no test coverage detected