Overview

Namespaces

  • Webmozart
    • KeyValueStore
      • Api
      • Decorator
      • Util

Interfaces

  • CountableStore
  • KeyValueStore
  • SortableStore

Exceptions

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

Class InvalidKeyException

Thrown when a key is invalid.

Exception
Extended by RuntimeException
Extended by Webmozart\KeyValueStore\Api\InvalidKeyException
Namespace: Webmozart\KeyValueStore\Api
Since: 1.0
Author: Bernhard Schussek bschussek@gmail.com
Located at Api/InvalidKeyException.php
Methods summary
public static Webmozart\KeyValueStore\Api\InvalidKeyException
# forKey( mixed $key, Exception $cause = null )

Creates an exception for an invalid key.

Creates an exception for an invalid key.

Parameters

$key
The invalid key.
$cause
The exception that caused this exception.

Returns

Webmozart\KeyValueStore\Api\InvalidKeyException
The created 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