Uses of Interface
org.djutils.exceptions.Try.Assignment
-
Uses of Try.Assignment in org.djutils.exceptions
Modifier and TypeMethodDescriptionstatic <V,
T extends Throwable>
VTry.assign
(Try.Assignment<V> assignment, Class<T> throwableClass, String message) Tries to return a value to assign.static <V,
T extends Throwable>
VTry.assign
(Try.Assignment<V> assignment, Class<T> throwableClass, String message, Object arg) Tries to return a value to assign.static <V,
T extends Throwable>
VTry.assign
(Try.Assignment<V> assignment, Class<T> throwableClass, String message, Object arg1, Object arg2) Tries to return a value to assign.static <V,
T extends Throwable>
VTry.assign
(Try.Assignment<V> assignment, Class<T> throwableClass, String message, Object arg1, Object arg2, Object arg3) Tries to return a value to assign.static <V,
T extends Throwable>
VTry.assign
(Try.Assignment<V> assignment, Class<T> throwableClass, String message, Object arg1, Object arg2, Object arg3, Object... args) Tries to return a value to assign.static <V> V
Try.assign
(Try.Assignment<V> assignment, String message) Tries to return a value to assign.static <V> V
Try.assign
(Try.Assignment<V> assignment, String message, Object arg) Tries to return a value to assign.static <V> V
Try.assign
(Try.Assignment<V> assignment, String message, Object arg1, Object arg2) Tries to return a value to assign.static <V> V
Tries to return a value to assign.static <V> V
Try.assign
(Try.Assignment<V> assignment, String message, Object arg1, Object arg2, Object arg3, Object... args) Tries to return a value to assign.static <V> V
Try.testFail
(Try.Assignment<V> assignment) Method for unit tests to test if an expected exception is thrown on an assignment.static <V,
T extends Throwable>
VTry.testFail
(Try.Assignment<V> assignment, Class<T> expectedThrowableClass) Method for unit tests to test if an expected exception is thrown on an assignment.static <V> V
Try.testFail
(Try.Assignment<V> assignment, String message) Method for unit tests to test if an expected exception is thrown on an assignment.static <V,
T extends Throwable>
VTry.testFail
(Try.Assignment<V> assignment, String message, Class<T> expectedThrowableClass) Method for unit tests to test if an expected exception is thrown on an assignment.