MCPcopy Create free account
hub / github.com/w3c/epubcheck / error

Method error

src/main/java/com/adobe/epubcheck/css/CSSHandler.java:109–126  ·  view source on GitHub ↗
(CssException e)

Source from the content-addressed store, hash-verified

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()

Callers

nothing calls this directly

Calls 7

getLineMethod · 0.95
getColumnMethod · 0.95
matchesMethod · 0.80
getMessageMethod · 0.65
messageMethod · 0.65
getLocationMethod · 0.45

Tested by

no test coverage detected