com.mongodb
Class MongoInternalException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.mongodb.MongoException
                  extended by com.mongodb.MongoInternalException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DBPortPool.NoMoreConnection

public class MongoInternalException
extends MongoException

An Mongo exception internal to the driver, not carrying any error code

Author:
antoine
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.mongodb.MongoException
MongoException.CursorNotFound, MongoException.DuplicateKey, MongoException.Network
 
Constructor Summary
MongoInternalException(String msg)
           
MongoInternalException(String msg, Throwable t)
           
 
Method Summary
 
Methods inherited from class com.mongodb.MongoException
getCode
 
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

MongoInternalException

public MongoInternalException(String msg)
Parameters:
msg - the message

MongoInternalException

public MongoInternalException(String msg,
                              Throwable t)
Parameters:
msg - the message
t - the throwable cause