| 1 | <?php |
||
| 24 | class ResourceNotFoundException extends RuntimeException |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * Creates a new exception for a resource path. |
||
| 28 | * |
||
| 29 | * @param string $path The path which was not found. |
||
| 30 | * @param Exception|null $cause The exception that caused this exception. |
||
| 31 | * |
||
| 32 | * @return static The created exception. |
||
| 33 | */ |
||
| 34 | 46 | public static function forPath($path, Exception $cause = null) |
|
| 41 | } |
||
| 42 |