diff --git a/plugins/october/demo/components/Todo.php b/plugins/october/demo/components/Todo.php index 7c3b56b1e..f3cac716e 100644 --- a/plugins/october/demo/components/Todo.php +++ b/plugins/october/demo/components/Todo.php @@ -1,6 +1,7 @@ = $this->property('max')) { - throw new \Exception(sprintf('Sorry only %s items are allowed.', $this->property('max'))); + throw new ApplicationException(sprintf('Sorry only %s items are allowed.', $this->property('max'))); } if (($newItem = post('newItem')) != '') {