<?php
 namespace ModStart\Core\Exception; use ModStart\Core\Input\Response; 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); } } public static function throwsIfEmpty($msg, $object) { if (empty($object)) { throw new BizException($msg); } } public static function throwsIfNotEmpty($msg, $object) { if (!empty($object)) { throw new BizException($msg); } } }