org.axonframework.eventstore.mongo
Class MongoInitializationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.axonframework.eventstore.mongo.MongoInitializationException
All Implemented Interfaces:
Serializable

public class MongoInitializationException
extends RuntimeException

Exception used to indicate the configuration of the MongoDB connection has errors

Since:
0.7
Author:
Jettro Coenradie
See Also:
Serialized Form

Constructor Summary
MongoInitializationException(String message)
          Constructor accepting a custom message
MongoInitializationException(String message, Throwable cause)
          Constructor excepting a custom message and the original exception
 
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

MongoInitializationException

public MongoInitializationException(String message)
Constructor accepting a custom message

Parameters:
message - String describing the exception

MongoInitializationException

public MongoInitializationException(String message,
                                    Throwable cause)
Constructor excepting a custom message and the original exception

Parameters:
message - String describing the exception
cause - Original exception


Copyright © 2011. All Rights Reserved.