public class EventStreamNotFoundException extends EventStoreException
Constructor and Description |
---|
EventStreamNotFoundException(String message)
Initialize the exception with the given
message . |
EventStreamNotFoundException(String type,
Object 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 . |
isCauseOf
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public EventStreamNotFoundException(String message)
message
.message
- a detailed message of the cause of the exceptionpublic EventStreamNotFoundException(String type, Object identifier)
identifier
of given
type
.type
- The type identifier of the aggregate that wasn't foundidentifier
- The identifier of the aggregate that wasn't foundCopyright © 2010-2014. All Rights Reserved.