MCPcopy Create free account
hub / github.com/davidgiven/luje / isError

Method isError

lib/java/nio/charset/CoderResult.java:176–179  ·  view source on GitHub ↗

Returns true if this result represents a malformed-input error or an unmappable-character error. @return true if this is a malformed-input error or an unmappable-character error, otherwise false.

()

Source from the content-addressed store, hash-verified

174 * unmappable-character error, otherwise false.
175 */
176 public boolean isError() {
177 return this.type == TYPE_MALFORMED_INPUT
178 || this.type == TYPE_UNMAPPABLE_CHAR;
179 }
180
181 /**
182 * Returns true if this result represents a malformed-input error.

Callers 2

convertMethod · 0.95
isLegalReplacementMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected