Class OrderCancelDeniedException

All Implemented Interfaces:
Serializable

public class OrderCancelDeniedException extends OrderCancelException
Exception thrown when OrderCancelService.requestOrderCancel(OrderCancelRequest, de.hybris.platform.core.model.security.PrincipalModel) method is invoked and Cancel is denied for given conditions. Cancel denial decisions can be read out using getCancelDecision() method.
See Also:
  • Constructor Details

    • OrderCancelDeniedException

      public OrderCancelDeniedException(String orderCode, CancelDecision cancelDecision)
  • Method Details

    • getCancelDecision

      public CancelDecision getCancelDecision()
      Returns:
      the cancelDecision