Overview

Namespaces

  • Webmozart
    • KeyValueStore
      • Api
      • Decorator
      • Util

Interfaces

  • CountableStore
  • KeyValueStore
  • SortableStore

Exceptions

  • InvalidKeyException
  • NoSuchKeyException
  • ReadException
  • SerializationFailedException
  • UnserializationFailedException
  • UnsupportedValueException
  • WriteException
  • Overview
  • Namespace
  • Class

Class UnsupportedValueException

Thrown when an unsupported value is stored in a key-value store.

Exception
Extended by RuntimeException
Extended by Webmozart\KeyValueStore\Api\UnsupportedValueException
Namespace: Webmozart\KeyValueStore\Api
Since: 1.0
Author: Bernhard Schussek bschussek@gmail.com
Located at Api/UnsupportedValueException.php
Methods summary
public static Webmozart\KeyValueStore\Api\UnsupportedValueException
# forType( string $type, Webmozart\KeyValueStore\Api\KeyValueStore $store, integer $code = 0, Exception $cause = null )

Creates a new exception for the given value type.

Creates a new exception for the given value type.

Parameters

$type
The name of the unsupported type.
$store
The store that does not support the type.
$code
The exception code.
$cause
The exception that caused this exception.

Returns

Webmozart\KeyValueStore\Api\UnsupportedValueException
The new exception.
public static Webmozart\KeyValueStore\Api\UnsupportedValueException
# forValue( string $value, Webmozart\KeyValueStore\Api\KeyValueStore $store, integer $code = 0, Exception $cause = null )

Creates a new exception for the given value.

Creates a new exception for the given value.

Parameters

$value
The unsupported value.
$store
The store that does not support the type.
$code
The exception code.
$cause
The exception that caused this exception.

Returns

Webmozart\KeyValueStore\Api\UnsupportedValueException
The new exception.
Methods inherited from Exception
__construct(), __toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Properties inherited from Exception
$code, $file, $line, $message
Webmozart Key-Value Store API API documentation generated by ApiGen