![]() |
Joomla CMS
3.9.25 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.9.25 et du framework Joomla Platform intégré
|
Graphe d'héritage de ParseException:Fonctions membres publiques | |
| __construct ($message, $parsedLine=-1, $snippet=null, $parsedFile=null, \Exception $previous=null) | |
| getSnippet () | |
| setSnippet ($snippet) | |
| getParsedFile () | |
| setParsedFile ($parsedFile) | |
| getParsedLine () | |
| setParsedLine ($parsedLine) | |
Fonctions membres privées | |
| updateRepr () | |
Attributs privés | |
| $parsedFile | |
| $parsedLine | |
| $snippet | |
| $rawMessage | |
Exception class thrown when an error occurs during parsing.
| __construct | ( | $message, | |
$parsedLine = -1, |
|||
$snippet = null, |
|||
$parsedFile = null, |
|||
| \Exception | $previous = null |
||
| ) |
| string | $message | The error message |
| int | $parsedLine | The line where the error occurred |
| string | null | $snippet | The snippet of code near the problem |
| string | null | $parsedFile | The file name where the error occurred |
| \Exception | null | $previous | The previous exception |
Références $message, ParseException\$parsedFile, ParseException\$parsedLine, ParseException\$snippet, et ParseException\updateRepr().
| getParsedFile | ( | ) |
Gets the filename where the error occurred.
This method returns null if a string is parsed.
Références ParseException\$parsedFile.
| getParsedLine | ( | ) |
Gets the line where the error occurred.
Références ParseException\$parsedLine.
| getSnippet | ( | ) |
Gets the snippet of code near the error.
Références ParseException\$snippet.
| setParsedFile | ( | $parsedFile | ) |
Sets the filename where the error occurred.
| string | $parsedFile | The filename |
Références ParseException\$parsedFile, et ParseException\updateRepr().
Référencé par Yaml\parse().
| setParsedLine | ( | $parsedLine | ) |
Sets the line where the error occurred.
| int | $parsedLine | The file line |
Références ParseException\$parsedLine, et ParseException\updateRepr().
Référencé par Parser\doParse(), et Parser\parseValue().
| setSnippet | ( | $snippet | ) |
Sets the snippet of code near the error.
| string | $snippet | The code snippet |
Références ParseException\$snippet, et ParseException\updateRepr().
Référencé par Parser\doParse(), et Parser\parseValue().
|
private |
Références ParseException\$rawMessage, json_encode, et null.
Référencé par ParseException\__construct(), ParseException\setParsedFile(), ParseException\setParsedLine(), et ParseException\setSnippet().
|
private |
Référencé par ParseException\__construct(), ParseException\getParsedFile(), et ParseException\setParsedFile().
|
private |
Référencé par ParseException\__construct(), ParseException\getParsedLine(), et ParseException\setParsedLine().
|
private |
Référencé par ParseException\updateRepr().
|
private |
Référencé par ParseException\__construct(), ParseException\getSnippet(), et ParseException\setSnippet().