PRADO Component Framework for PHP 5
  • Home
  • About
  • Testimonials
  • Demos
  • Download
  • Documentation
  • Forum
  • Development
  • Tutorials
  • Class Docs
  • API Manual
  • Wiki

Packages

  • None
  • System
    • Caching
    • Collections
    • Data
      • ActiveRecord
        • Relations
        • Scaffold
          • InputBuilder
      • Commom
        • Sqlite
      • Common
        • Mssql
        • Mysql
        • Oracle
        • Pgsql
        • Sqlite
      • DataGateway
      • SqlMap
        • Configuration
        • Statements
    • Exceptions
    • I18N
    • IO
    • Security
    • Util
    • Web
      • Javascripts
      • Services
      • UI
        • ActiveControls
        • WebControls
    • Xml
  • Wsat
    • pages
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class TSqlMapException

TSqlMapException is the base exception class for all SqlMap exceptions.

Exception
Extended by TException
Extended by TSqlMapException

Direct known subclasses

TInvalidPropertyException, TSqlMapConfigurationException, TSqlMapDuplicateException, TSqlMapExecutionException, TSqlMapUndefinedException
Package: System\Data\SqlMap
Author: Wei Zhuo <weizho[at]gmail[dot]com>
Since: 3.1
Located at Data/SqlMap/DataMapper/TSqlMapException.php
Methods summary
public
# __construct( string $errorMessage )

Constructor, similar to the parent constructor. For parameters that are of SimpleXmlElement, the tag name and its attribute names and values are expanded into a string.

Constructor, similar to the parent constructor. For parameters that are of SimpleXmlElement, the tag name and its attribute names and values are expanded into a string.

Parameters

$errorMessage
string
error message. This can be a string that is listed in the message file. If so, the message in the preferred language will be used as the error message. Any rest parameters will be used to replace placeholders ({0}, {1}, {2}, etc.) in the message.

Overrides

TException::__construct()
protected string
# implodeNode( SimpleXmlElement $node )

Parameters

$node
SimpleXmlElement
node

Returns

string
tag name and attribute names and values.
protected string
# getErrorMessageFile( )

Returns

string
path to the error message file

Overrides

TException::getErrorMessageFile()
Methods inherited from TException
getErrorCode(), getErrorMessage(), setErrorCode(), setErrorMessage(), translateErrorMessage()
Methods inherited from Exception
__toString(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Properties inherited from TException
$_messageCache
Properties inherited from Exception
$code, $file, $line, $message
Terms of Service | Contact Us
PRADO v3.2.4 API Manual API documentation generated by ApiGen 2.8.0
Copyright © 2006-2014 by the PRADO Group.
Powered by PRADO