mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 16:54:04 +02:00
doc/DocException: Extend RuntimeException' instead of
Exception'
Errors in the documentation module can only be found on runtime. refs #4820
This commit is contained in:
parent
507ac1c4d7
commit
a0c331020b
@ -4,11 +4,9 @@
|
|||||||
|
|
||||||
namespace Icinga\Module\Doc\Exception;
|
namespace Icinga\Module\Doc\Exception;
|
||||||
|
|
||||||
use Exception;
|
use RuntimeException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exception thrown if an error in the documentation module occurs
|
* Exception thrown if an error in the documentation module's library occurs
|
||||||
*/
|
*/
|
||||||
class DocException extends Exception
|
class DocException extends RuntimeException {}
|
||||||
{
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user