public class JSONException extends Exception

class.json.php #15

The JSONException class extends the base Exception class. It's only difference is that it will translate the $code to a human readable error.


void __construct(string $message, integer $code, Exception $ex)

Constructor takes a $message, $code and the original Exception, $ex. Upon translating the $code into a more human readable message, it will initialise the base Exception class. If the $code is unfamiliar, the original $message will be passed.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details