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(String aggregateIdentifier)
Initialize a AggregateDeletedException for an aggregate identifier by given
aggregateIdentifier and
a default message . |
AggregateDeletedException(String aggregateIdentifier,
String message)
Initialize a AggregateDeletedException for an aggregate identifier by given
aggregateIdentifier and
given message . |
getAggregateIdentifier
isCauseOf
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AggregateDeletedException(String 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(String aggregateIdentifier)
aggregateIdentifier
and
a default message
.aggregateIdentifier
- The identifier of the aggregate that has been deletedCopyright © 2010–2019. All rights reserved.