Uses of Interface
org.djutils.exceptions.Try.Execution
| Package | Description |
|---|---|
| org.djutils.exceptions |
Utilities such as Throw and Try to help with exceptions.
|
-
Uses of Try.Execution in org.djutils.exceptions
Methods in org.djutils.exceptions with parameters of type Try.Execution Modifier and Type Method Description static <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 voidTry. execute(Try.Execution execution, String message)Tries to execute.static voidTry. execute(Try.Execution execution, String message, Object arg)Tries to execute.static voidTry. execute(Try.Execution execution, String message, Object arg1, Object arg2)Tries to execute.static voidTry. execute(Try.Execution execution, String message, Object arg1, Object arg2, Object arg3)Tries to execute.static voidTry. execute(Try.Execution execution, String message, Object arg1, Object arg2, Object arg3, Object... args)Tries to execute.static voidTry. testFail(Try.Execution execution)Fails if the execution succeeds.static <T extends Throwable>
voidTry. testFail(Try.Execution execution, Class<T> throwableClass)Fails if the execution succeeds.static voidTry. testFail(Try.Execution execution, String message)Fails if the execution succeeds.static <T extends Throwable>
voidTry. testFail(Try.Execution execution, String message, Class<T> throwableClass)Fails if the execution succeeds.static voidTry. testSucceed(Try.Execution execution)Fails if the execution does not succeed.static <T extends Throwable>
voidTry. testSucceed(Try.Execution execution, Class<T> throwableClass)Fails if the execution does not succeed.static voidTry. testSucceed(Try.Execution execution, String message)Fails if the execution does not succeed.static <T extends Throwable>
voidTry. testSucceed(Try.Execution execution, String message, Class<T> throwableClass)Fails if the execution does not succeed.