Exception for ORM. More...
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. |
Exception for ORM.
ORMException::__construct | ( | $ | msg, | |
$ | table = false , |
|||
$ | field = false , |
|||
Exception $ | previous = NULL | |||
) |
initialization of the ORMException
$msg | message to print | |
$table | related table, or false | |
$field | related field, or false | |
$previous | Optional, previous exception if using exception chaining |
ORMException::getField | ( | ) |
Get the field name related to the exception, or false.
ORMException::getTable | ( | ) |
Get the table name related to the exception, or false.