Klasse TransportOrderAssignmentException

Alle implementierten Schnittstellen:
Serializable

public class TransportOrderAssignmentException extends KernelRuntimeException
Thrown when a TransportOrder could not be assigned to a Vehicle.
Siehe auch:
  • 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

      @Nonnull public TCSObjectReference<TransportOrder> getTransportOrder()
      Returns the transport order.
      Gibt zurück:
      The transport order.
    • getVehicle

      @Nullable public TCSObjectReference<Vehicle> getVehicle()
      Returns the vehicle.
      Gibt zurück:
      The vehicle.
    • getTransportOrderAssignmentVeto

      @Nonnull public TransportOrderAssignmentVeto 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.