optionally throws it.
public static wrapToStateMachineException ( Exception $e, integer $code, $throw = false ) : |
||
$e | Exception | |
$code | integer | |
return |
public static wrapToStateMachineException ( Exception $e, integer $code, $throw = false ) : |
||
$e | Exception | |
$code | integer | |
return |