Class NamespaceNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.streamnative.oxia.client.shard.NamespaceNotFoundException
- All Implemented Interfaces:
Serializable
The namespace not found in shards assignments.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNamespaceNotFoundException(@NonNull String namespace) Creates an instance of the exception.NamespaceNotFoundException(@NonNull String namespace, boolean retryable) Creates a retryable instance of the exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NamespaceNotFoundException
Creates an instance of the exception.- Parameters:
namespace- The namespace specified in the call.
-
NamespaceNotFoundException
Creates a retryable instance of the exception.- Parameters:
namespace- The namespace specified in the call.retryable- If the exception is retryable
-