MCPcopy Create free account
hub / github.com/apache/bval / create

Method create

bval-jsr/src/main/java/org/apache/bval/util/Exceptions.java:42–45  ·  view source on GitHub ↗
(Function<? super String, ? extends E> fn, String format,
        Object... args)

Source from the content-addressed store, hash-verified

40 }
41
42 public static <E extends Exception> E create(Function<? super String, ? extends E> fn, String format,
43 Object... args) {
44 return create(fn, () -> String.format(format, args));
45 }
46
47 public static <E extends Exception, C extends Throwable> E create(
48 BiFunction<? super String, ? super C, ? extends E> fn, C cause, String format, Object... args) {

Callers 15

raiseMethod · 0.95
findProviderMethod · 0.95
buildValidatorFactoryMethod · 0.95
redefiningMethod · 0.95
handleElementByTypeMethod · 0.95
ValidateExecutableMethod · 0.95
openMethod · 0.95
parseXmlConfigMethod · 0.95
loadClassMethod · 0.95
enforceUniquenessMethod · 0.95

Calls 4

elideStackTraceMethod · 0.95
applyMethod · 0.80
formatMethod · 0.45
getMethod · 0.45

Tested by 1

createDeploymentMethod · 0.36