You are here

public function SearchApiException::__construct in Search API 7

Creates a new SearchApiException.

Parameters

$message: A string describing the cause of the exception.

File

includes/exception.inc, line 20
Contains SearchApiException.

Class

SearchApiException
Represents an exception or error that occurred in some part of the Search API framework.

Code

public function __construct($message = NULL) {
  if (!$message) {
    $message = t('An error occurred in the Search API framework.');
  }
  parent::__construct($message);
}