You are here

class SearchApiException in Search API 7

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

Hierarchy

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

Namesort descending Modifiers Type Description Overrides
SearchApiException::__construct public function Creates a new SearchApiException.