public class ConsulRequestException extends Exception
| Constructor and Description |
|---|
ConsulRequestException()
Constructs a new instance of this class with
null as its
detail message. |
ConsulRequestException(String message)
Constructs a new instance of this class with the specified detail
message.
|
ConsulRequestException(String message,
Throwable rootCause)
Constructs a new instance of this class with the specified detail message
and root cause.
|
ConsulRequestException(Throwable rootCause)
Constructs a new instance of this class with the specified root cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ConsulRequestException()
null as its
detail message.public ConsulRequestException(String message)
message - the detail message. The detail message is saved for later
retrieval by the Throwable.getMessage() method.public ConsulRequestException(String message, Throwable rootCause)
message - the detail message. The detail message is saved for later
retrieval by the Throwable.getMessage() method.rootCause - root failure causepublic ConsulRequestException(Throwable rootCause)
rootCause - root failure causeCopyright © 2016. All rights reserved.