Pt_BR En Ja De Fr 
You are currently viewing the 0.11 branch api documentation. Switch to 1.0

0.11 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

Add New Comment
Please enter follow the doctrine