org.springframework.data.redis.connection
Class RedisSubscribedConnectionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by org.springframework.dao.DataAccessException
                      extended by org.springframework.dao.NonTransientDataAccessException
                          extended by org.springframework.dao.InvalidDataAccessApiUsageException
                              extended by org.springframework.data.redis.connection.RedisSubscribedConnectionException
All Implemented Interfaces:
Serializable

public class RedisSubscribedConnectionException
extends InvalidDataAccessApiUsageException

Exception thrown when issuing commands on a connection that is subscribed and waiting for events.

See Also:
RedisPubSubCommands, Serialized Form

Constructor Summary
RedisSubscribedConnectionException(String msg)
          Constructs a new RedisSubscribedConnectionException instance.
RedisSubscribedConnectionException(String msg, Throwable cause)
          Constructs a new RedisSubscribedConnectionException instance.
 
Method Summary
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RedisSubscribedConnectionException

public RedisSubscribedConnectionException(String msg,
                                          Throwable cause)
Constructs a new RedisSubscribedConnectionException instance.

Parameters:
msg -
cause -

RedisSubscribedConnectionException

public RedisSubscribedConnectionException(String msg)
Constructs a new RedisSubscribedConnectionException instance.

Parameters:
msg -