mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-19 11:19:56 +09:00
Commit missing files
This commit is contained in:
parent
e5ab366d91
commit
b08472a380
2 changed files with 36 additions and 0 deletions
18
common/framework/exceptions/securityviolation.php
Normal file
18
common/framework/exceptions/securityviolation.php
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
namespace Rhymix\Framework\Exceptions;
|
||||
|
||||
/**
|
||||
* The "security violation" exception class.
|
||||
*/
|
||||
class SecurityViolation extends \Rhymix\Framework\Exception
|
||||
{
|
||||
public function __construct($message = '', $code = 0, $previous = null)
|
||||
{
|
||||
if ($message === '')
|
||||
{
|
||||
$message = lang('msg_security_violation');
|
||||
}
|
||||
parent::__construct($message, $code, $previous);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue