public class MongoClientClosedException extends MongoDbException
MongoClient
.Constructor and Description |
---|
MongoClientClosedException()
Creates a new CannotConnectException.
|
MongoClientClosedException(Message message)
Creates a new CannotConnectException.
|
MongoClientClosedException(String message)
Creates a new CannotConnectException.
|
MongoClientClosedException(String message,
Throwable cause)
Creates a new CannotConnectException.
|
MongoClientClosedException(Throwable cause)
Creates a new CannotConnectException.
|
Modifier and Type | Method and Description |
---|---|
Message |
getSentMessage()
Returns the message that was being sent.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MongoClientClosedException()
public MongoClientClosedException(Message message)
message
- The message that was being sent.public MongoClientClosedException(String message)
message
- Message for the exception.public MongoClientClosedException(String message, Throwable cause)
message
- Message for the exception.cause
- The cause of the error.public MongoClientClosedException(Throwable cause)
cause
- The cause of the error.public Message getSentMessage()
Copyright © 2011-2013 Allanbank Consulting, Inc.. All Rights Reserved.