Klasse TransportOrderAssignmentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.opentcs.access.KernelRuntimeException
org.opentcs.components.kernel.dipatching.TransportOrderAssignmentException
- Alle implementierten Schnittstellen:
Serializable
Thrown when a
TransportOrder
could not be assigned to a Vehicle
.- Siehe auch:
-
Konstruktorübersicht
KonstruktorBeschreibungTransportOrderAssignmentException
(TCSObjectReference<TransportOrder> transportOrder, TCSObjectReference<Vehicle> vehicle, TransportOrderAssignmentVeto transportOrderAssignmentVeto) Creates a new instance. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the transport order.Returns the reason why a transport order assignment was not possible.Returns the vehicle.Von Klasse geerbte Methoden java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Konstruktordetails
-
TransportOrderAssignmentException
public TransportOrderAssignmentException(@Nonnull TCSObjectReference<TransportOrder> transportOrder, @Nullable TCSObjectReference<Vehicle> vehicle, @Nonnull TransportOrderAssignmentVeto transportOrderAssignmentVeto) Creates a new instance.- Parameter:
transportOrder
- The transport order.vehicle
- The vehicle.transportOrderAssignmentVeto
- The reason why the transport order could not be assigned to the vehicle.
-
-
Methodendetails
-
getTransportOrder
Returns the transport order.- Gibt zurück:
- The transport order.
-
getVehicle
Returns the vehicle.- Gibt zurück:
- The vehicle.
-
getTransportOrderAssignmentVeto
Returns the reason why a transport order assignment was not possible.- Gibt zurück:
- The reason why a transport order assignment was not possible.
-