You are here

function GoogleMiniException::__construct in Google Search Appliance 5

Same name and namespace in other branches
  1. 6.2 GoogleMini.php \GoogleMiniException::__construct()

File

./GoogleMini.php, line 415

Class

GoogleMiniException

Code

function __construct($message, $code = null) {
  parent::__construct($message, $code);
  $this->userMessage = GoogleMiniException::getUserMessage($code);
  if (!$this->userMessage) {
    $this->userMessage = $message;
  }
}