XML_Parser2_Exception __construct(
[string|resource
$msgorparser = 'unknown error'], [integer
$code = 0])
|
|
construct a new error instance
You may either pass a message or an xml_parser resource as first parameter. If a resource has been passed, the last error that happened will be retrieved and returned.
Overrides Exception::constructor __construct ( [$message = ], [$code = ], [$previous = ] ) (parent method not documented)
Parameters: