Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F3281518
PhutilJSONParserException.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
811 B
Referenced Files
None
Subscribers
None
PhutilJSONParserException.php
View Options
<?php
final
class
PhutilJSONParserException
extends
Exception
{
private
$sourceLine
;
private
$sourceChar
;
private
$sourceToken
;
private
$expected
;
public
function
__construct
(
$message
,
$line
=
null
,
$char
=
null
,
$token
=
null
,
$expected
=
null
)
{
$this
->
sourceLine
=
$line
;
$this
->
sourceChar
=
$char
;
$this
->
sourceToken
=
$token
;
$this
->
expected
=
$expected
;
parent
::
__construct
(
pht
(
'Parse error on line %d at column %d: %s'
,
$line
,
$char
,
$message
)
)
;
}
public
function
getSourceLine
(
)
{
return
$this
->
sourceLine
;
}
public
function
getSourceChar
(
)
{
return
$this
->
sourceChar
;
}
public
function
getSourceToken
(
)
{
return
$this
->
sourceToken
;
}
public
function
getExpectedTokens
(
)
{
return
$this
->
expected
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Mar 23, 23:01 (4 d, 1 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1118333
Default Alt Text
PhutilJSONParserException.php (811 B)
Attached To
Mode
rARC Arcanist
Attached
Detach File
Event Timeline
Log In to Comment