public class AggregateDeletedException extends AggregateNotFoundException
AggregateNotFoundException that indicates that historic
information of an aggregate was found, but the aggregate has been deleted.| Constructor and Description |
|---|
AggregateDeletedException(Object aggregateIdentifier)
Initialize a AggregateDeletedException for an aggregate identifier by given
aggregateIdentifier and
a default message. |
AggregateDeletedException(Object aggregateIdentifier,
String message)
Initialize a AggregateDeletedException for an aggregate identifier by given
aggregateIdentifier and
given message. |
getAggregateIdentifierisCauseOfaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AggregateDeletedException(Object aggregateIdentifier, String message)
aggregateIdentifier and
given message.aggregateIdentifier - The identifier of the aggregate that has been deletedmessage - The message describing the cause of the exceptionpublic AggregateDeletedException(Object aggregateIdentifier)
aggregateIdentifier and
a default message.aggregateIdentifier - The identifier of the aggregate that has been deletedCopyright © 2010-2014. All Rights Reserved.