public class RedisPipelineException extends InvalidDataAccessResourceUsageException
Typically, the first exception returned by the pipeline is used as the cause of this exception for easier debugging.
| Constructor and Description |
|---|
RedisPipelineException(Exception cause)
Constructs a new
RedisPipelineException instance using a default message and an empty pipeline result
list. |
RedisPipelineException(Exception cause,
List<Object> pipelineResult)
Constructs a new
RedisPipelineException instance using a default message. |
RedisPipelineException(String msg,
List<Object> pipelineResult)
Constructs a new
RedisPipelineException instance. |
RedisPipelineException(String msg,
Throwable cause,
List<Object> pipelineResult)
Constructs a new
RedisPipelineException instance. |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getPipelineResult()
Optionally returns the result of the pipeline that caused the exception.
|
contains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RedisPipelineException(String msg, Throwable cause, List<Object> pipelineResult)
RedisPipelineException instance.msg - the messagecause - the causepipelineResult - the pipeline resultpublic RedisPipelineException(Exception cause, List<Object> pipelineResult)
RedisPipelineException instance using a default message.cause - the causepipelineResult - the pipeline resultpublic RedisPipelineException(Exception cause)
RedisPipelineException instance using a default message and an empty pipeline result
list.cause - the causeCopyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.