PHP Class Yosymfony\Spress\Core\ContentManager\Exception\ContentException

Author: Victor Puertas ([email protected])
Inheritance: extends RuntimeException
Exibir arquivo Open project: spress/spress

Protected Properties

Property Type Description
$id
$rawMessage

Public Methods

Method Description
__construct ( string $message, string $id = null, Exception $previous = null ) Constructor.
getId ( ) : string Gets the identifier where the exception was generated.
setId ( string $id ) Sets the identifier where the exception was generated.

Protected Methods

Method Description
updateRepr ( )

Method Details

__construct() public method

Constructor.
public __construct ( string $message, string $id = null, Exception $previous = null )
$message string The exception message
$id string The identifier of the content where the exception was generated
$previous Exception The previous exception

getId() public method

Gets the identifier where the exception was generated.
public getId ( ) : string
return string

setId() public method

Sets the identifier where the exception was generated.
public setId ( string $id )
$id string The identifier of the content

updateRepr() protected method

protected updateRepr ( )

Property Details

$id protected_oe property

protected $id

$rawMessage protected_oe property

protected $rawMessage