You are here

key.exception.inc in Key 7.3

Defines Key-specific exceptions.

File

includes/key.exception.inc
View source
<?php

/**
 * @file
 * Defines Key-specific exceptions.
 */

/**
 * Defines a generic exception for Key.
 */
class KeyException extends Exception {

}

/**
 * Defines an exception for when a key value fails to be set.
 */
class KeyValueNotSetException extends KeyException {

}

/**
 * Defines an exception for when a key value fails to be retrieved.
 */
class KeyValueNotRetrievedException extends KeyException {

}

/**
 * Defines an exception for when a key value fails to be deleted.
 */
class KeyValueNotDeletedException extends KeyException {

}

Classes

Namesort descending Description
KeyException Defines a generic exception for Key.
KeyValueNotDeletedException Defines an exception for when a key value fails to be deleted.
KeyValueNotRetrievedException Defines an exception for when a key value fails to be retrieved.
KeyValueNotSetException Defines an exception for when a key value fails to be set.