Package de.hybris.platform.ordercancel
Class OrderCancelDeniedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.hybris.platform.ordercancel.OrderCancelException
-
- de.hybris.platform.ordercancel.OrderCancelDeniedException
-
- All Implemented Interfaces:
java.io.Serializable
public class OrderCancelDeniedException extends OrderCancelException
Exception thrown whenOrderCancelService.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 usinggetCancelDecision()method.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OrderCancelDeniedException(java.lang.String orderCode, CancelDecision cancelDecision)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CancelDecisiongetCancelDecision()-
Methods inherited from class de.hybris.platform.ordercancel.OrderCancelException
getOrderCode
-
-
-
-
Constructor Detail
-
OrderCancelDeniedException
public OrderCancelDeniedException(java.lang.String orderCode, CancelDecision cancelDecision)
-
-
Method Detail
-
getCancelDecision
public CancelDecision getCancelDecision()
- Returns:
- the cancelDecision
-
-