Skip to content

Commit

Permalink
doc/DocException: Extend RuntimeException' instead of Exception'
Browse files Browse the repository at this point in the history
Errors in the documentation module can only be found on runtime.

refs #4820
  • Loading branch information
lippserd committed Jul 28, 2014
1 parent 507ac1c commit a0c3310
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions modules/doc/library/Doc/Exception/DocException.php
Expand Up @@ -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 {}

0 comments on commit a0c3310

Please sign in to comment.