MCPcopy Create free account
hub / github.com/apache/tomcat / validate

Method validate

java/org/apache/tomcat/util/buf/CharsetHolder.java:128–132  ·  view source on GitHub ↗

Throws an exception if the instance holds a name that without a matching Charset. @throws UnsupportedEncodingException if the holder contains a name without a matching Charset

()

Source from the content-addressed store, hash-verified

126 * @throws UnsupportedEncodingException if the holder contains a name without a matching Charset
127 */
128 public void validate() throws UnsupportedEncodingException {
129 if (name != null && charset == null) {
130 throw new UnsupportedEncodingException(name);
131 }
132 }
133}

Callers 3

getValidatedCharsetMethod · 0.95
setCharacterEncodingMethod · 0.95
checkConverterMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected