Spring Data Document

org.springframework.data.mongodb
Class CannotGetMongoDbConnectionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by org.springframework.dao.DataAccessException
                      extended by org.springframework.dao.NonTransientDataAccessException
                          extended by org.springframework.dao.NonTransientDataAccessResourceException
                              extended by org.springframework.dao.DataAccessResourceFailureException
                                  extended by org.springframework.data.mongodb.CannotGetMongoDbConnectionException
All Implemented Interfaces:
Serializable

public class CannotGetMongoDbConnectionException
extends DataAccessResourceFailureException

See Also:
Serialized Form

Constructor Summary
CannotGetMongoDbConnectionException(String msg)
           
CannotGetMongoDbConnectionException(String msg, String database, String username, char[] password)
           
CannotGetMongoDbConnectionException(String msg, Throwable cause)
           
 
Method Summary
 String getDatabase()
           
 char[] getPassword()
           
 String getUsername()
           
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

CannotGetMongoDbConnectionException

public CannotGetMongoDbConnectionException(String msg,
                                           Throwable cause)

CannotGetMongoDbConnectionException

public CannotGetMongoDbConnectionException(String msg)

CannotGetMongoDbConnectionException

public CannotGetMongoDbConnectionException(String msg,
                                           String database,
                                           String username,
                                           char[] password)
Method Detail

getUsername

public String getUsername()

getPassword

public char[] getPassword()

getDatabase

public String getDatabase()

Spring Data Document

Copyright © 2012. All Rights Reserved.