ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
enshrined\svgSanitize\Exceptions\NestingException Class Reference
+ Inheritance diagram for enshrined\svgSanitize\Exceptions\NestingException:
+ Collaboration diagram for enshrined\svgSanitize\Exceptions\NestingException:

Public Member Functions

 __construct ($message="", $code=0, Exception $previous=null, \DOMElement $element=null)
 NestingException constructor. More...
 
 getElement ()
 Get the element that caused the exception. More...
 

Protected Attributes

 $element
 

Detailed Description

Definition at line 9 of file NestingException.php.

Constructor & Destructor Documentation

◆ __construct()

enshrined\svgSanitize\Exceptions\NestingException::__construct (   $message = "",
  $code = 0,
Exception  $previous = null,
\DOMElement  $element = null 
)

NestingException constructor.

Parameters
string$message
int$code
Exception | null$previous
\DOMElement | null$element

Definition at line 24 of file NestingException.php.

References $code, enshrined\svgSanitize\Exceptions\NestingException\$element, and $message.

25  {
26  $this->element = $element;
27  parent::__construct($message, $code, $previous);
28  }
$code
Definition: example_050.php:99
catch(Exception $e) $message

Member Function Documentation

◆ getElement()

enshrined\svgSanitize\Exceptions\NestingException::getElement ( )

Get the element that caused the exception.

Returns

Definition at line 35 of file NestingException.php.

References enshrined\svgSanitize\Exceptions\NestingException\$element.

Referenced by enshrined\svgSanitize\ElementReference\Resolver\determineInvalidSubjects().

+ Here is the caller graph for this function:

Field Documentation

◆ $element

enshrined\svgSanitize\Exceptions\NestingException::$element
protected

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