• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/diag/exceptionhandler.php
  • Класс: BitrixMainDiagExceptionHandler
  • Вызов: ExceptionHandler::handleAssertion
public function handleAssertion($file, $line, $message)
{
	$exception = new ErrorException($message, 0, $this->assertionErrorType, $file, $line);

	if ($this->assertionThrowsException)
	{
		throw $exception;
	}
	else
	{
		$this->writeToLog($exception, ExceptionHandlerLog::ASSERTION);
	}
}