Package

play.api.cache.redis

exception

Permalink

package exception

Helper trait providing simplified and unified API to exception handling in play-redis

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. exception
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class ExecutionFailedException(key: Option[String], command: String, cause: Throwable) extends RedisException with Product with Serializable

    Permalink

    Command execution failed with exception

  2. sealed abstract class RedisException extends RuntimeException

    Permalink

    Generic exception produced by the library indicating internal failure

  3. case class SerializationException(key: String, message: String, cause: Throwable) extends RedisException with Product with Serializable

    Permalink

    Value serialization or deserialization failed.

  4. case class TimeoutException(cause: Throwable) extends RedisException with Product with Serializable

    Permalink

    Request timeouts

  5. case class UnexpectedResponseException(key: Option[String], command: String) extends RedisException with Product with Serializable

    Permalink

    Request succeeded but returned unexpected value

Value Members

  1. def failed(key: Option[String], command: String, cause: Throwable): Nothing

    Permalink

    helper indicating command execution failed with exception

    helper indicating command execution failed with exception

    Annotations
    @throws( ... )
  2. def invalidConfiguration(message: String): Nothing

    Permalink

    helper indicating invalid configuration

    helper indicating invalid configuration

    Annotations
    @throws( ... )
  3. def serializationFailed(key: String, message: String, cause: Throwable): Nothing

    Permalink

    helper indicating serialization failure, it throws an exception

    helper indicating serialization failure, it throws an exception

    Annotations
    @throws( ... )
  4. def shouldBeOverwritten(message: String): Nothing

    Permalink

    helper indicating the code to be overwritten

    helper indicating the code to be overwritten

    Annotations
    @throws( ... )
  5. def timedOut(cause: Throwable): Nothing

    Permalink

    helper indicating command execution timed out

    helper indicating command execution timed out

    Annotations
    @throws( ... )
  6. def unexpected(key: Option[String], command: String): Nothing

    Permalink

    helper indicating the command execution returned unexpected exception

    helper indicating the command execution returned unexpected exception

    Annotations
    @throws( ... )
  7. def unsupported(message: String): Nothing

    Permalink

    helper throwing UnsupportedOperationException

    helper throwing UnsupportedOperationException

    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped