DI
2 years ago
AuthenticationFailedException.php
2 years ago
DatabaseSchemaIsNewerThanCodebaseException.php
2 years ago
ErrorException.php
1 year ago
Exception.php
1 year ago
FailedCopyException.php
2 years ago
IRedirectException.php
2 years ago
InvalidDimensionException.php
2 years ago
InvalidRequestParameterException.php
2 years ago
MissingFilePermissionException.php
2 years ago
NoPrivilegesException.php
2 years ago
NoWebsiteFoundException.php
2 years ago
NotGitInstalledException.php
2 years ago
NotSupportedBrowserException.php
4 months ago
NotYetInstalledException.php
1 year ago
PluginDeactivatedException.php
4 months ago
PluginNotFoundException.php
4 months ago
PluginRequiresInternetException.php
2 years ago
RedirectException.php
2 years ago
StylesheetLessCompileException.php
2 years ago
ThingNotFoundException.php
4 months ago
UnexpectedWebsiteFoundException.php
2 years ago
NotSupportedBrowserException.php
20 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Matomo - free/libre analytics platform |
| 5 | * |
| 6 | * @link https://matomo.org |
| 7 | * @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later |
| 8 | */ |
| 9 | namespace Piwik\Exception; |
| 10 | |
| 11 | use Piwik\Http\HttpCodeException; |
| 12 | class NotSupportedBrowserException extends \Piwik\Exception\Exception implements HttpCodeException |
| 13 | { |
| 14 | public function __construct($message) |
| 15 | { |
| 16 | // Use HTTP code 400 to avoid server-provided 403 error page. |
| 17 | parent::__construct($message, $code = 400); |
| 18 | } |
| 19 | } |
| 20 |