<?php
 namespace TechOnline\Laravel\Exception; class BizException extends \Exception { public static function throws($msg) { throw new BizException($msg); } public static function throwsIf($msg, $condition) { if ($condition) { throw new BizException($msg); } } }