com.mongodb
Class MongoInterruptedException

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.MongoInterruptedException
All Implemented Interfaces:
Serializable

public class MongoInterruptedException
extends MongoException

A non-checked exception indicating that the driver has been interrupted by a call to Thread.interrupt.

See Also:
Thread.interrupt(), InterruptedException, Serialized Form

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

MongoInterruptedException

public MongoInterruptedException(InterruptedException e)

MongoInterruptedException

public MongoInterruptedException(String message,
                                 InterruptedException e)