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:
Eric Lippmann 2014-07-28 18:53:41 +02:00
parent 507ac1c4d7
commit a0c331020b
1 changed files with 3 additions and 5 deletions

View File

@ -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 {}