public final class AggregateNotFoundException
extends org.fuin.objects4j.common.AbstractJaxbMarshallableException
implements org.fuin.objects4j.common.ExceptionShortIdentifable
| Modifier | Constructor and Description |
|---|---|
protected |
AggregateNotFoundException()
JAX-B constructor.
|
|
AggregateNotFoundException(@NotNull EntityType aggregateType,
@NotNull AggregateRootId aggregateId)
Constructor with all data.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull java.lang.String |
getAggregateId()
Returns the unique identifier of the aggregate.
|
@NotNull java.lang.String |
getAggregateType()
Returns the type of the aggregate.
|
java.lang.String |
getShortId() |
afterMarshal, afterUnmarshal, beforeMarshalprotected AggregateNotFoundException()
public AggregateNotFoundException(@NotNull
@NotNull EntityType aggregateType,
@NotNull
@NotNull AggregateRootId aggregateId)
aggregateType - Type of the aggregate.aggregateId - Unique identifier of the aggregate.public final java.lang.String getShortId()
getShortId in interface org.fuin.objects4j.common.ExceptionShortIdentifable@NotNull public final @NotNull java.lang.String getAggregateType()
@NotNull public final @NotNull java.lang.String getAggregateId()
Copyright © 2019 fuin.org (Germany). All Rights Reserved.