|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.util.AxonException
org.axonframework.util.AxonNonTransientException
org.axonframework.eventstore.EventStoreException
org.axonframework.eventstore.EventStreamNotFoundException
public class EventStreamNotFoundException
Exception indicating that the event store could not find an event stream for a given aggregate type and identifier. This typically means that there is no aggregate with the given identifier.
| Constructor Summary | |
|---|---|
EventStreamNotFoundException(String message)
Initialize the exception with the given message. |
|
EventStreamNotFoundException(String type,
AggregateIdentifier identifier)
Initialize the exception with a default message for a given aggregate identifier of given
type. |
|
EventStreamNotFoundException(String message,
Throwable cause)
Initialize the exception with the given message and cause. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EventStreamNotFoundException(String message)
message.
message - a detailed message of the cause of the exception
public EventStreamNotFoundException(String type,
AggregateIdentifier identifier)
identifier of given
type.
type - The type identifier of the aggregate that wasn't foundidentifier - The identifier of the aggregate that wasn't found
public EventStreamNotFoundException(String message,
Throwable cause)
message and cause.
message - a detailed message of the cause of the exceptioncause - the original cause of this exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||