Add required "className" constants with full names of classes

This commit is contained in:
Meritoo
2017-10-19 23:39:16 +02:00
parent bdbaebb5c0
commit 44f56bd50d
5 changed files with 8 additions and 2 deletions

View File

@@ -16,6 +16,8 @@ namespace Meritoo\Common\Exception\File;
*/ */
class EmptyFileException extends \Exception class EmptyFileException extends \Exception
{ {
const className = 'Meritoo\Common\Exception\File\EmptyFileException';
/** /**
* Class constructor * Class constructor
* *

View File

@@ -16,6 +16,8 @@ namespace Meritoo\Common\Exception\File;
*/ */
class EmptyFilePathException extends \Exception class EmptyFilePathException extends \Exception
{ {
const className = 'Meritoo\Common\Exception\File\EmptyFilePathException';
/** /**
* Class constructor * Class constructor
*/ */

View File

@@ -16,6 +16,8 @@ namespace Meritoo\Common\Exception\File;
*/ */
class NotExistingFileException extends \Exception class NotExistingFileException extends \Exception
{ {
const className = 'Meritoo\Common\Exception\File\NotExistingFileException';
/** /**
* Class constructor * Class constructor
* *

View File

@@ -18,7 +18,7 @@ use Exception;
*/ */
class DisabledMethodException extends Exception class DisabledMethodException extends Exception
{ {
const className = '\Meritoo\Common\Exception\Method\DisabledMethodException'; const className = 'Meritoo\Common\Exception\Method\DisabledMethodException';
/** /**
* Class constructor * Class constructor

View File

@@ -10,7 +10,7 @@ namespace Meritoo\Common\Exception\Regex;
*/ */
class InvalidUrlException extends \Exception class InvalidUrlException extends \Exception
{ {
const className = '\Meritoo\Common\Exception\Regex\InvalidUrlException'; const className = 'Meritoo\Common\Exception\Regex\InvalidUrlException';
/** /**
* Class constructor * Class constructor