org.axonframework.eventstore
Class EventStoreException

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.eventstore.EventStoreException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
EventStreamNotFoundException

public class EventStoreException
extends AxonNonTransientException

Indicates that the given events stream could not be stored or read due to an underlying exception.

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

Constructor Summary
EventStoreException(String message)
          Initialize the exception with the given message.
EventStoreException(String message, Throwable cause)
          Initialize the exception with the 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

EventStoreException

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

Parameters:
message - a detailed message of the cause of the exception

EventStoreException

public EventStoreException(String message,
                           Throwable cause)
Initialize the exception with the given message and cause

Parameters:
message - a detailed message of the cause of the exception
cause - the original cause of this exception


Copyright © 2010-2016. All Rights Reserved.