org.axonframework.eventsourcing
Class IncompatibleAggregateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.axonframework.common.AxonException
                  extended by org.axonframework.common.AxonNonTransientException
                      extended by org.axonframework.eventsourcing.IncompatibleAggregateException
All Implemented Interfaces:
Serializable

public class IncompatibleAggregateException
extends AxonNonTransientException

Exception indicating that an aggregate was not compatible with the requirements of the GenericAggregateFactory.

Since:
0.5
Author:
Allard Buijze
See Also:
Serialized Form

Constructor Summary
IncompatibleAggregateException(String message)
          Initialize the exception with given message.
IncompatibleAggregateException(String message, Exception cause)
          Initialize the exception with given message and cause.
 
Method Summary
 
Methods inherited from class org.axonframework.common.AxonNonTransientException
isCauseOf
 
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

IncompatibleAggregateException

public IncompatibleAggregateException(String message,
                                      Exception cause)
Initialize the exception with given message and cause.

Parameters:
message - Message describing the reason the aggregate is not compatible
cause - The cause

IncompatibleAggregateException

public IncompatibleAggregateException(String message)
Initialize the exception with given message.

Parameters:
message - Message describing the reason the aggregate is not compatible


Copyright © 2010-2016. All Rights Reserved.