package com.tradecloud.domain.shipment;
import com.tradecloud.domain.exception.EnumBusinessException;
/**
* Base shipment exception.
*/
public class ShipmentException extends EnumBusinessException {
private static final long serialVersionUID = 1L;
public ShipmentException(ShipmentExceptionType shipmentExceptionType) {
super(shipmentExceptionType);
}
@Override
public ShipmentExceptionType getExceptionType() {
return cast(ShipmentExceptionType.class, exceptionType);
}
}