Package io.umadb.client
Class UmaDbException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.umadb.client.UmaDbException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UmaDbException.AuthenticationException,UmaDbException.CorruptionException,UmaDbException.IntegrityException,UmaDbException.InternalException,UmaDbException.IoException,UmaDbException.SerializationException
public sealed class UmaDbException
extends RuntimeException
permits UmaDbException.IoException, UmaDbException.SerializationException, UmaDbException.IntegrityException, UmaDbException.CorruptionException, UmaDbException.InternalException, UmaDbException.AuthenticationException
Base exception class for all exceptions thrown by the UmaDb client.
All specific exceptions extend this class, allowing clients to catch either specific conditions or all UmaDb-related errors.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classIndicates an authentication failure, such as invalid credentials or lack of authorization to access the requested resource.static final classIndicates corruption detected in persisted data, such as invalid event format or inconsistent state.static final classIndicates an integrity violation, such as appending events that violate constraints or failing conditional operations.static final classRepresents an internal server or client error that does not fall into other specific categories.static final classIndicates an I/O-related error, such as network failures or inability to reach the UmaDb server.static final classIndicates a failure during serialization or deserialization of events, queries, or responses. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UmaDbException
-
UmaDbException
-