1<?php 2 3/** 4 * This file is part of the Nette Framework (https://nette.org) 5 * Copyright (c) 2004 David Grudl (https://davidgrudl.com) 6 */ 7 8declare(strict_types=1); 9 10namespace Nette\Utils; 11 12 13/** 14 * The exception that is thrown when an image error occurs. 15 */ 16class ImageException extends \Exception 17{ 18} 19 20 21/** 22 * The exception that indicates invalid image file. 23 */ 24class UnknownImageFileException extends ImageException 25{ 26} 27 28 29/** 30 * The exception that indicates error of JSON encoding/decoding. 31 */ 32class JsonException extends \JsonException 33{ 34} 35 36 37/** 38 * The exception that indicates error of the last Regexp execution. 39 */ 40class RegexpException extends \Exception 41{ 42} 43 44 45/** 46 * The exception that indicates assertion error. 47 */ 48class AssertionException extends \Exception 49{ 50} 51