CBPCompositeActivity :: HandleFault: Bitrix method

      
<?php 
//  CBPCompositeActivity :: HandleFault()
//  /dist/bitrix/modules/bizproc/classes/general/compositeactivity.php:60

    
public function HandleFault(Exception $exception)
    {
        if (!
$exception)
            throw new 
Exception("exception");

        
$status $this->Cancel();
        if (
$status == CBPActivityExecutionStatus::Canceling)
            return 
CBPActivityExecutionStatus::Faulting;

        return 
$status;
    }