Skip to content

Commit

Permalink
Specify the exact type of the exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
mohorev committed Nov 2, 2013
1 parent eee63f1 commit 5d17dd0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions framework/yii/base/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ public function getControllerPath()
* Sets the directory that contains the controller classes.
* @param string $path the directory that contains the controller classes.
* This can be either a directory name or a path alias.
* @throws Exception if the directory is invalid
* @throws InvalidParamException if the directory is invalid
*/
public function setControllerPath($path)
{
Expand All @@ -264,7 +264,7 @@ public function getViewPath()
/**
* Sets the directory that contains the view files.
* @param string $path the root directory of view files.
* @throws Exception if the directory is invalid
* @throws InvalidParamException if the directory is invalid
*/
public function setViewPath($path)
{
Expand All @@ -287,7 +287,7 @@ public function getLayoutPath()
/**
* Sets the directory that contains the layout files.
* @param string $path the root directory of layout files.
* @throws Exception if the directory is invalid
* @throws InvalidParamException if the directory is invalid
*/
public function setLayoutPath($path)
{
Expand Down

0 comments on commit 5d17dd0

Please sign in to comment.