1 | <?php |
||
24 | class UnsupportedVersionException extends ConversionException |
||
25 | { |
||
26 | /** |
||
27 | * Creates an exception for an unknown version. |
||
28 | * |
||
29 | * @param string $version The version that caused the |
||
30 | * exception. |
||
31 | * @param string[] $knownVersions The known versions. |
||
32 | * @param Exception|null $cause The exception that caused this |
||
33 | * exception. |
||
34 | * |
||
35 | * @return static The created exception. |
||
36 | */ |
||
37 | 3 | public static function forVersion($version, array $knownVersions, Exception $cause = null) |
|
48 | } |
||
49 |