Search
API Documentation
- Doctrine
- Access
- Adapter
- Auditlog
- Builder
- Cache
- Cli
- Collection
- Column
- Compiler
- Configurable
- Connection
- Data
- Datadict
- Datatype
- Event
- Eventlistener
- Exception
- Export
- Expression
- File
- Formatter
- Hook
- Hydrate
- I18n
- Import
- Inflector
- Integritymapper
- Lib
- Locking
- Manager
- Migration
- Node
- Null
- Overloadable
- Pager
- Parser
- Plugin
- Query
- Rawsql
- Record
- Relation
- Search
- Sequence
- Spyc
- Table
- Task
- Template
- Transaction
- Tree
- Validator
- View
You are currently viewing the 0.11 branch api documentation.
Switch to 1.0
0.11 Doctrine_Connection_Exception
- Home
- Documentation
- 0.11 API Documentation
- Doctrine_Connection_Exception
Doctrine Connection Exception
Doctrine_Exception
Method Summary
| Returns | Name | Description |
|---|---|---|
| string | errorMessage | |
| integer | getPortableCode | |
| string | getPortableMessage | |
| boolean | processErrorInfo |
Method Details
-
$value integer error code, null to get the current error code-message map, or an array with a new error code-message map (string) errorMessage((int|array) $value = null)
Return a textual error message for a Doctrine error code
Doctrine_Connection_Exception
-
(integer) getPortableCode()
getPortableCode returns portable error code
Doctrine_Connection_Exception
-
(string) getPortableMessage()
getPortableMessage returns portable error message
Doctrine_Connection_Exception
-
$errorInfo error info array (boolean) processErrorInfo($errorInfo)
This method checks if native error code/message can be converted into a portable code and then adds this portable error code to $portableCode field
Doctrine_Connection_Exception




Comments (0) [ add comment ]
No Comments
Add Comment