com.mongodb
Class MongoException.Network

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.MongoException.Network
All Implemented Interfaces:
Serializable
Enclosing class:
MongoException

public static class MongoException.Network
extends MongoException

Subclass of MongoException representing a network-related exception

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.mongodb.MongoException
MongoException.CursorNotFound, MongoException.DuplicateKey, MongoException.Network
 
Constructor Summary
MongoException.Network(IOException ioe)
           
MongoException.Network(String msg, IOException ioe)
           
 
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

MongoException.Network

public MongoException.Network(String msg,
                              IOException ioe)
Parameters:
msg - the message
ioe - the cause

MongoException.Network

public MongoException.Network(IOException ioe)
Parameters:
ioe - the cause