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;
|
||||
|
||||
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…
Reference in New Issue