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.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classException indicates that something goes wrong during callable call.static classException indicates that configuration is invalid. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRedisException(String message) Build a new instance.protectedRedisException(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
-
RedisException
Build a new instance.- Parameters:
message- The detail message
-