Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
86772416
Commit
86772416
authored
Apr 03, 2016
by
Carsten Rose
Browse files
QfqController.php: extended to catch userReportFormException
parent
3f6fedaa
Changes
1
Show whitespace changes
Inline
Side-by-side
extension/Classes/Controller/QfqController.php
View file @
86772416
...
...
@@ -8,7 +8,8 @@ namespace IMATHUZH\Qfq\Controller;
use
qfq
;
require_once
(
__DIR__
.
'/../../qfq/qfq/QuickFormQuery.php'
);
require_once
(
__DIR__
.
'/../../qfq/qfq/exceptions/UserException.php'
);
require_once
(
__DIR__
.
'/../../qfq/qfq/exceptions/UserFormException.php'
);
require_once
(
__DIR__
.
'/../../qfq/qfq/exceptions/UserReportExtension.php'
);
require_once
(
__DIR__
.
'/../../qfq/qfq/exceptions/CodeException.php'
);
require_once
(
__DIR__
.
'/../../qfq/qfq/exceptions/DbException.php'
);
...
...
@@ -23,6 +24,8 @@ class QfqController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionController {
}
catch
(
qfq\UserFormException
$e
)
{
$html
=
$e
->
formatMessage
();
}
catch
(
qfq\UserReportException
$e
)
{
$html
=
$e
->
formatMessage
();
}
catch
(
qfq\CodeException
$e
)
{
$html
=
$e
->
formatMessage
();
}
catch
(
qfq\DbException
$e
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment