OXID eShop CE  6.1.5
OxidEsales\EshopCommunity\Setup\Exception\CommandExecutionFailedException Class Reference
+ Inheritance diagram for OxidEsales\EshopCommunity\Setup\Exception\CommandExecutionFailedException:
+ Collaboration diagram for OxidEsales\EshopCommunity\Setup\Exception\CommandExecutionFailedException:

Public Member Functions

 __construct ($message='', $code=0, \Exception $previous=null)
 
 getCommand ()
 
 setReturnCode ($returnCode)
 
 getReturnCode ()
 
 setCommandOutput ($outputLines)
 
 getCommandOutput ()
 

Private Attributes

 $command = null
 
 $returnCode = 0
 
 $commandOutput = null
 

Detailed Description

Class CommandExecutionFailedException.

Exception class to indicate absence of template

Constructor & Destructor Documentation

◆ __construct()

OxidEsales\EshopCommunity\Setup\Exception\CommandExecutionFailedException::__construct (   $message = '',
  $code = 0,
\Exception  $previous = null 
)

CommandExecutionFailedException constructor.

Parameters
string$messageName of the command which was executed.
int$codeException code.
\Exception | null$previousLink to previous exception.

Member Function Documentation

◆ getCommand()

OxidEsales\EshopCommunity\Setup\Exception\CommandExecutionFailedException::getCommand ( )

Returns the command which was used for execution.

Returns
string

◆ getCommandOutput()

OxidEsales\EshopCommunity\Setup\Exception\CommandExecutionFailedException::getCommandOutput ( )

Returns the value of command output which was shown after the execution of command.

Returns
string

◆ getReturnCode()

OxidEsales\EshopCommunity\Setup\Exception\CommandExecutionFailedException::getReturnCode ( )

Returns value of return code.

Returns
int

◆ setCommandOutput()

OxidEsales\EshopCommunity\Setup\Exception\CommandExecutionFailedException::setCommandOutput (   $outputLines)

Sets value for command output which was shown after the execution of command.

Parameters
array$outputLines

◆ setReturnCode()

OxidEsales\EshopCommunity\Setup\Exception\CommandExecutionFailedException::setReturnCode (   $returnCode)

Sets value for the return code.

Parameters
int$returnCode

Member Data Documentation

◆ $command

OxidEsales\EshopCommunity\Setup\Exception\CommandExecutionFailedException::$command = null
private

◆ $commandOutput

OxidEsales\EshopCommunity\Setup\Exception\CommandExecutionFailedException::$commandOutput = null
private

◆ $returnCode

OxidEsales\EshopCommunity\Setup\Exception\CommandExecutionFailedException::$returnCode = 0
private

The documentation for this class was generated from the following file: