Mark V
1: <?php
2: namespace MOC\V\Component\Document\Exception;
3:
4: /**
5: * Class DocumentTypeException
6: *
7: * @package MOC\V\Component\Document\Exception
8: */
9: class DocumentTypeException extends DocumentException
10: {
11:
12: /**
13: * @param string $Message
14: * @param int $Code
15: * @param null $Previous
16: */
17: public function __construct($Message = "", $Code = 0, $Previous = null)
18: {
19:
20: $Message = 'Document type '.$Message.' not supported!';
21:
22: parent::__construct($Message, $Code, $Previous);
23: }
24: }
25: