class SearchApiException in Search API 7
Represents an exception or error that occurred in some part of the Search API framework.
Hierarchy
- class \SearchApiException extends \Exception
Expanded class hierarchy of SearchApiException
File
- includes/
exception.inc, line 12 - Contains SearchApiException.
View source
class SearchApiException extends Exception {
/**
* Creates a new SearchApiException.
*
* @param $message
* A string describing the cause of the exception.
*/
public function __construct($message = NULL) {
if (!$message) {
$message = t('An error occurred in the Search API framework.');
}
parent::__construct($message);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SearchApiException:: |
public | function | Creates a new SearchApiException. |