Class RedisException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.voidframework.redis.exception.RedisException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RedisException.CallableFailure
,RedisException.InvalidConfiguration
All exceptions related to Redis feature are subclasses of
RedisException
.- Since:
- 1.1.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Exception indicates that something goes wrong during callable call.static class
Exception indicates that configuration is invalid. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
RedisException
(String message) Build a new instance.protected
RedisException
(String message, Throwable cause) Build a new instance. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RedisException
Build a new instance.- Parameters:
message
- The detail messagecause
- The root cause- Since:
- 1.1.0
-
RedisException
Build a new instance.- Parameters:
message
- The detail message- Since:
- 1.1.0
-