Overview
  • Class

Classes

  • DSNHelper
  • GxDBConnect

Exceptions

  • GxDBException

Class GxDBException

Extends the PHP Exception class to add a custom message format.

Exception
Extended by GxDBException
Located at GxDBConnect.class.php

Methods summary

public
# __construct( string $message, integer $code )

Constructor.

Constructor.

Parameters

$message
The error message.
$code
The error code.

Overrides

Exception::__construct
public string
# __toString( )

Override to exclude the output of potentially sensitive data.

Override to exclude the output of potentially sensitive data.

Returns

string

Overrides

Exception::__toString

Methods inherited from Exception

__wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()

Properties summary

Properties inherited from Exception

$code, $file, $line, $message

API documentation generated by ApiGen