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

Method raise

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

Source from the content-addressed store, hash-verified

59 }
60
61 public static <E extends Exception, R> R raise(Function<? super String, ? extends E> fn, String format,
62 Object... args) throws E {
63 throw create(fn, format, args);
64 }
65
66 public static <E extends Exception> void raiseIf(boolean condition, Function<? super String, ? extends E> fn,
67 String format, Object... args) throws E {

Callers 15

raiseIfMethod · 0.95
noNullElementsMethod · 0.95
getValidatedTypeMethod · 0.95
unwrapMethod · 0.95
getMethod · 0.95
ensureExpandableMethod · 0.95
validGroupsMethod · 0.95
ValidateReturnValueMethod · 0.95
handlePropertyMethod · 0.95
handlePropertyMethod · 0.95
handleBasicMethod · 0.95

Calls 1

createMethod · 0.95

Tested by

no test coverage detected