Package org.salespointframework.order
Class OrderCompletionFailure
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.salespointframework.order.OrderCompletionFailure
- All Implemented Interfaces:
Serializable
Exception to be thrown if a listener for
OrderEvents.OrderCompleted
event wants to indicate failure of the completion.- Author:
- Oliver Gierke
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a newOrderCompletionFailure
for the givenOrderCompletionReport
.OrderCompletionFailure
(Order order, String message) Creates a newOrderCompletionFailure
for the givenOrder
and message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
OrderCompletionFailure
Creates a newOrderCompletionFailure
for the givenOrder
and message.- Parameters:
order
- must not be null.message
- must not be null.
-
OrderCompletionFailure
Creates a newOrderCompletionFailure
for the givenOrderCompletionReport
.- Parameters:
report
- must not be null.
-
-
Method Details