Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame^] | 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * This file is part of the Carbon package. |
| 5 | * |
| 6 | * (c) Brian Nesbitt <brian@nesbot.com> |
| 7 | * |
| 8 | * For the full copyright and license information, please view the LICENSE |
| 9 | * file that was distributed with this source code. |
| 10 | */ |
| 11 | namespace Carbon\Exceptions; |
| 12 | |
| 13 | use Exception; |
| 14 | use InvalidArgumentException as BaseInvalidArgumentException; |
| 15 | |
| 16 | class InvalidFormatException extends BaseInvalidArgumentException implements InvalidArgumentException |
| 17 | { |
| 18 | /** |
| 19 | * Constructor. |
| 20 | * |
| 21 | * @param string $message |
| 22 | * @param int $code |
| 23 | * @param Exception|null $previous |
| 24 | */ |
| 25 | public function __construct($message, $code = 0, Exception $previous = null) |
| 26 | { |
| 27 | parent::__construct($message, $code, $previous); |
| 28 | } |
| 29 | } |