Package org.opentrafficsim.core.gtu
Interface GTUErrorHandler
-
public interface GTUErrorHandler
GTU error handler.Copyright (c) 2013-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version Aug 6, 2019
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
-
Field Summary
Fields Modifier and Type Field Description static GTUErrorHandler
DELETE
GTU error handler that deletes the GTU upon an exception.static GTUErrorHandler
THROW
Default implementation that throws the exception.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handle(GTU gtu, Exception ex)
Handle exception.
-
-
-
Field Detail
-
THROW
static final GTUErrorHandler THROW
Default implementation that throws the exception.
-
DELETE
static final GTUErrorHandler DELETE
GTU error handler that deletes the GTU upon an exception.
-
-