mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-01 06:28:46 +02:00
N°9066 - Serialization/Unserialization from XML to Forms
This commit is contained in:
@@ -7,11 +7,21 @@
|
||||
|
||||
namespace Combodo\iTop\PropertyType;
|
||||
|
||||
use Combodo\iTop\DesignDocument;
|
||||
use Combodo\iTop\DesignElement;
|
||||
use Exception;
|
||||
use Throwable;
|
||||
|
||||
/**
|
||||
* @since 3.3.0
|
||||
*/
|
||||
class PropertyTypeException extends Exception
|
||||
{
|
||||
public function __construct(string $message = "", ?DesignElement $oNode = null, ?Throwable $previous = null)
|
||||
{
|
||||
if (!is_null($oNode)) {
|
||||
$message = DesignDocument::GetItopNodePath($oNode).': '.$message;
|
||||
}
|
||||
parent::__construct($message, 0, $previous);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user