MCPcopy Create free account
hub / github.com/google/guice / conversionError

Method conversionError

core/src/com/google/inject/internal/Errors.java:225–239  ·  view source on GitHub ↗
(
      String stringValue,
      Object source,
      TypeLiteral<?> type,
      TypeConverterBinding typeConverterBinding,
      RuntimeException cause)

Source from the content-addressed store, hash-verified

223 }
224
225 public Errors conversionError(
226 String stringValue,
227 Object source,
228 TypeLiteral<?> type,
229 TypeConverterBinding typeConverterBinding,
230 RuntimeException cause) {
231 return errorInUserCode(
232 cause,
233 "Error converting '%s' (bound at %s) to %s\n using %s.\n Reason: %s",
234 stringValue,
235 convert(source),
236 type,
237 typeConverterBinding,
238 cause);
239 }
240
241 public Errors ambiguousTypeConversion(
242 String stringValue,

Callers 1

Calls 2

errorInUserCodeMethod · 0.95
convertMethod · 0.95

Tested by

no test coverage detected