Package | Description |
---|---|
org.djutils.exceptions |
Utilities such as Throw and Try to help with exceptions.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Throwable> |
Try.execute(Try.Execution execution,
Class<T> throwableClass,
String message)
Tries to execute.
|
static <T extends Throwable> |
Try.execute(Try.Execution execution,
Class<T> throwableClass,
String message,
Object arg)
Tries to execute.
|
static <T extends Throwable> |
Try.execute(Try.Execution execution,
Class<T> throwableClass,
String message,
Object arg1,
Object arg2)
Tries to execute.
|
static <T extends Throwable> |
Try.execute(Try.Execution execution,
Class<T> throwableClass,
String message,
Object arg1,
Object arg2,
Object arg3)
Tries to execute.
|
static <T extends Throwable> |
Try.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 |
Try.execute(Try.Execution execution,
String message,
Object arg1,
Object arg2,
Object arg3)
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)
Fails if the execution succeeds.
|
static <T extends Throwable> |
Try.testFail(Try.Execution execution,
Class<T> throwableClass)
Fails if the execution succeeds.
|
static void |
Try.testFail(Try.Execution execution,
String message)
Fails if the execution succeeds.
|
static <T extends Throwable> |
Try.testFail(Try.Execution execution,
String message,
Class<T> throwableClass)
Fails if the execution succeeds.
|
static void |
Try.testSucceed(Try.Execution execution)
Fails if the execution does not succeed.
|
static <T extends Throwable> |
Try.testSucceed(Try.Execution execution,
Class<T> throwableClass)
Fails if the execution does not succeed.
|
static void |
Try.testSucceed(Try.Execution execution,
String message)
Fails if the execution does not succeed.
|
static <T extends Throwable> |
Try.testSucceed(Try.Execution execution,
String message,
Class<T> throwableClass)
Fails if the execution does not succeed.
|
Copyright © 2018–2019 Delft University of Technology. All rights reserved.