GenericExceptionHandler DatabaseExceptionHandler

public class DatabaseExceptionHandler extends GenericExceptionHandler

class.symphony.php #928

The DatabaseExceptionHandler provides a render function to provide customised output for database exceptions. It displays the exception message as provided by the Database.

Methods

static string render(Exception $e)

The render function will take a DatabaseException and output a HTML page.

Parameters
  • $e ExceptionThe Exception object

Returns

An HTML string

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