Shipment/Gateway/AbstractGateway.php
protected function throwUnsupportedShipment(Shipment\ShipmentInterface $shipment, $reason = null)
    {
        throw new ShipmentGatewayException(sprintf(
            "Gateway '%s' does not support shipment '%s'. %s",
            $this->getName(), $shipment->getNumber(), $reason
        ));
    }
protected function throwUnsupportedShipment(Shipment\ShipmentInterface $shipment, $reason = null)
    {
        throw new ShipmentGatewayException(sprintf(
            "Gateway '%s' does not support shipment '%s'. %s",
            $this->getName(), $shipment->getNumber(), $reason
        ));
    }
Throws an unsupported operation exception.

@param Shipment\ShipmentInterface $shipment
@param string                     $reason

@throws ShipmentGatewayException