Perforce Chronicle 2012.2/486814
API Documentation
|
Exception to be thrown when an error occurs running a Perforce command. More...
Public Member Functions | |
getConnection () | |
Get the perforce Connection instance if one is set. | |
getResult () | |
Get the perforce result object if one is set. | |
setConnection (P4_Connection_Interface $connection) | |
Set the perforce Connection instance. | |
setResult ($result) | |
Set the perforce result object. |
Exception to be thrown when an error occurs running a Perforce command.
Holds the associated Connection instance and result object.
P4_Connection_CommandException::getConnection | ( | ) |
Get the perforce Connection instance if one is set.
{ if (isset($this->_connection)) { return $this->_connection; } }
P4_Connection_CommandException::getResult | ( | ) |
Get the perforce result object if one is set.
{ if (isset($this->_result)) { return $this->_result; } }
P4_Connection_CommandException::setConnection | ( | P4_Connection_Interface $ | connection | ) |
Set the perforce Connection instance.
P4_Connection_Interface | $connection | the perforce Connection instance. |
{ $this->_connection = $connection; }
P4_Connection_CommandException::setResult | ( | $ | result | ) |