Commit 5d17dd06 by Alexander Mohorev

Specify the exact type of the exception.

parent eee63f17
...@@ -241,7 +241,7 @@ abstract class Module extends Component ...@@ -241,7 +241,7 @@ abstract class Module extends Component
* Sets the directory that contains the controller classes. * Sets the directory that contains the controller classes.
* @param string $path 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. * 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) public function setControllerPath($path)
{ {
...@@ -264,7 +264,7 @@ abstract class Module extends Component ...@@ -264,7 +264,7 @@ abstract class Module extends Component
/** /**
* Sets the directory that contains the view files. * Sets the directory that contains the view files.
* @param string $path the root directory of 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) public function setViewPath($path)
{ {
...@@ -287,7 +287,7 @@ abstract class Module extends Component ...@@ -287,7 +287,7 @@ abstract class Module extends Component
/** /**
* Sets the directory that contains the layout files. * Sets the directory that contains the layout files.
* @param string $path the root directory of 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) public function setLayoutPath($path)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment