Package com.mongodb.spi.dns
Class DnsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.mongodb.spi.dns.DnsException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DnsWithResponseCodeException
An exception indicating a DNS error;
- Since:
- 4.6
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DnsException
Construct an instance- Parameters:
message
- the messagecause
- the cause
-