org.axonframework.repository
Class AggregateNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.util.AxonException
org.axonframework.util.AxonNonTransientException
org.axonframework.repository.AggregateNotFoundException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AggregateDeletedException
public class AggregateNotFoundException
- extends AxonNonTransientException
Exception indicating that the an aggregate could not be found in the repository.
- Since:
- 0.4
- Author:
- Allard Buijze
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
AggregateNotFoundException
public AggregateNotFoundException(String message)
- Initialize a AggregateNotFoundException with the given
message
- Parameters:
message - The message describing the cause of the exception
AggregateNotFoundException
public AggregateNotFoundException(String message,
Throwable cause)
- Initialize a AggregateNotFoundException with the given
message and cause
- Parameters:
message - The message describing the cause of the exceptioncause - The underlying cause of the exception
Copyright © 2011. All Rights Reserved.