多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# Class **Phalcon\Mvc\Model\Transaction\Failed**[](# "永久链接至标题") *extends* class [*Phalcon\Mvc\Model\Transaction\Exception*](#) This class will be thrown to exit a try/catch block for isolated transactions ### Methods[](# "永久链接至标题") public **__construct** (*unknown* $message, [*unknown* $record]) Phalcon\Mvc\Model\Transaction\Failed constructor public **getRecordMessages** () Returns validation record messages which stop the transaction public **getRecord** () Returns validation record messages which stop the transaction final private *Exception***__clone** () inherited from Exception Clone the exception final public *string***getMessage** () inherited from Exception Gets the Exception message final public *int***getCode** () inherited from Exception Gets the Exception code final public *string***getFile** () inherited from Exception Gets the file in which the exception occurred final public *int***getLine** () inherited from Exception Gets the line in which the exception occurred final public *array***getTrace** () inherited from Exception Gets the stack trace final public *Exception***getPrevious** () inherited from Exception Returns previous Exception final public *Exception***getTraceAsString** () inherited from Exception Gets the stack trace as a string public *string***__toString** () inherited from Exception String representation of the exception | - [索引](# "总目录") - [下一页](# "Class Phalcon\Mvc\Model\Transaction\Manager") | - [上一页](# "Class Phalcon\Mvc\Model\Transaction\Exception") | - [API Indice](#) »