1 | <?php namespace BuildR\Foundation\Exception; |
||
18 | class Exception extends VanillaException{ |
||
19 | |||
20 | /** |
||
21 | * Create a new exception with a prepared message. Message is prepared using vsptintf() |
||
22 | * if you provide a format. |
||
23 | * |
||
24 | * @param string $message The exception message |
||
25 | * @param array $format The format elements |
||
26 | * @param int $code Exception code |
||
27 | * @param \Exception $previous Previous exception class |
||
28 | * |
||
29 | * @return static |
||
30 | */ |
||
31 | 3 | public static function createByFormat($message = "", $format = [], $code = 0, VanillaException $previous = NULL) { |
|
38 | |||
39 | } |
||
40 |