Package io.deephaven.kv.serviceregistry
Class KvServiceRegistryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.deephaven.UncheckedDeephavenException
io.deephaven.kv.serviceregistry.KvServiceRegistryException
- All Implemented Interfaces:
Serializable
An Unchecked Exception that captures failures in
ServiceRegistryJetcdProvider methods- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorKvServiceRegistryException(@NotNull String message) Constructor that supports taking a detailed message describing the error.KvServiceRegistryException(@NotNull String reason, @Nullable Throwable cause) Constructor that builds aKvServiceRegistryExceptionusing the passed in message and optional cause.KvServiceRegistryException(@NotNull String message, @Nullable Throwable cause, boolean enableSuppression, boolean writableStackTrace) Constructor that builds aKvServiceRegistryExceptionusing the passed in message, optional cause, suppression indicator and writable stacktrace flag.KvServiceRegistryException(@Nullable Throwable cause) Constructor that builds aKvServiceRegistryExceptionusing the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
KvServiceRegistryException
public KvServiceRegistryException()Default Constructor -
KvServiceRegistryException
Constructor that supports taking a detailed message describing the error. SeeRuntimeException(String)- Parameters:
message- A detailed message describing the error.
-
KvServiceRegistryException
Constructor that builds aKvServiceRegistryExceptionusing the specified cause. SeeRuntimeException(Throwable)- Parameters:
cause- The passed in cause.
-
KvServiceRegistryException
public KvServiceRegistryException(@NotNull @NotNull String reason, @Nullable @Nullable Throwable cause) Constructor that builds aKvServiceRegistryExceptionusing the passed in message and optional cause. SeeRuntimeException(String, Throwable)- Parameters:
reason- The passed in message detailing the errorcause- Optional cause, null would indicate the error is unknown
-
KvServiceRegistryException
public KvServiceRegistryException(@NotNull @NotNull String message, @Nullable @Nullable Throwable cause, boolean enableSuppression, boolean writableStackTrace) Constructor that builds aKvServiceRegistryExceptionusing the passed in message, optional cause, suppression indicator and writable stacktrace flag. SeeRuntimeException(String, Throwable, boolean, boolean)- Parameters:
message- The passed in message detailing the errorcause- Optional cause, null would indicate the error is unknownenableSuppression- Boolean that indicates suppression is enabled or disabledwritableStackTrace- Boolean that indicates if stacktrace is writable
-