Package org.opentrafficsim.core.gtu
Interface GtuErrorHandler
-
public interface GtuErrorHandlerGtu error handler.Copyright (c) 2013-2020 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 GtuErrorHandlerDELETEGtu error handler that deletes the Gtu upon an exception.static GtuErrorHandlerTHROWDefault implementation that throws the exception.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandle(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.
-
-