|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.orbitz.consul.ConsulException
public class ConsulException
Wraps an exception thrown whilst interacting with the Consul API.
| Constructor Summary | |
|---|---|
ConsulException(java.lang.String message)
Constructs an instance of this class. |
|
ConsulException(java.lang.String message,
java.lang.Throwable throwable)
Constructs an instance of this class. |
|
| Method Summary |
|---|
| 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 |
|---|
public ConsulException(java.lang.String message)
message - The exception message.
public ConsulException(java.lang.String message,
java.lang.Throwable throwable)
message - The exception message.throwable - The wrapped Throwable object.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||