Bitrix Site Manager

CApplicationException::GetString

string
CApplicationException::GetString()

The method GetString returns the exception description.

Parameters


No parameters.

See Also

Example



<?
$DB->StartTransaction();
if(!$langs->Delete($del_id))
{
  $DB->Rollback();
  if($ex = $APPLICATION->GetException())
    $strError = $ex->GetString();
}
else
  $DB->Commit();
?>