ORMException Class Reference

Exception for ORM. More...

Inheritance diagram for ORMException:
ORMDriverException

Public Member Functions

 __construct ($msg, $table=false, $field=false, Exception $previous=NULL)
 initialization of the ORMException
 getTable ()
 Get the table name related to the exception, or false.
 getField ()
 Get the field name related to the exception, or false.

Detailed Description

Exception for ORM.


Constructor & Destructor Documentation

ORMException::__construct ( msg,
table = false,
field = false,
Exception $  previous = NULL 
)

initialization of the ORMException

Parameters:
$msg message to print
$table related table, or false
$field related field, or false
$previous Optional, previous exception if using exception chaining

Member Function Documentation

ORMException::getField (  ) 

Get the field name related to the exception, or false.

Returns:
field name, or false
ORMException::getTable (  ) 

Get the table name related to the exception, or false.

Returns:
table name, or false

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables

Generated on 19 Dec 2018 for ninja by  doxygen 1.6.1