@FunctionalInterface public static interface Try.Execution
Try.execute(() -> fis.close(), "Could not close the file.");
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Method and Description |
---|---|
void |
execute()
Executes some code using the context in which the Execution was created.
|
Copyright © 2014–2018 Delft University of Technology. All rights reserved.