Uses of Interface
org.djutils.exceptions.Try.Execution
-
Uses of Try.Execution in org.djutils.exceptions
Modifier and TypeMethodDescriptionstatic <T extends Throwable>
voidTry.execute
(Try.Execution execution, Class<T> throwableClass, String message) Tries to execute.static <T extends Throwable>
voidTry.execute
(Try.Execution execution, Class<T> throwableClass, String message, Object arg) Tries to execute.static <T extends Throwable>
voidTry.execute
(Try.Execution execution, Class<T> throwableClass, String message, Object arg1, Object arg2) Tries to execute.static <T extends Throwable>
voidTry.execute
(Try.Execution execution, Class<T> throwableClass, String message, Object arg1, Object arg2, Object arg3) Tries to execute.static <T extends Throwable>
voidTry.execute
(Try.Execution execution, Class<T> throwableClass, String message, Object arg1, Object arg2, Object arg3, Object... args) Tries to execute.static void
Try.execute
(Try.Execution execution, String message) Tries to execute.static void
Try.execute
(Try.Execution execution, String message, Object arg) Tries to execute.static void
Try.execute
(Try.Execution execution, String message, Object arg1, Object arg2) Tries to execute.static void
Tries to execute.static void
Try.execute
(Try.Execution execution, String message, Object arg1, Object arg2, Object arg3, Object... args) Tries to execute.static void
Try.testFail
(Try.Execution execution) Method for unit tests to test if an expected exception is thrown on code execution.static <T extends Throwable>
voidTry.testFail
(Try.Execution execution, Class<T> expectedThrowableClass) Method for unit tests to test if an expected exception is thrown on code execution.static void
Try.testFail
(Try.Execution execution, String message) Method for unit tests to test if an expected exception is thrown on code execution.static <T extends Throwable>
voidTry.testFail
(Try.Execution execution, String message, Class<T> expectedThrowableClass) Method for unit tests to test if an expected exception is thrown on code execution.