Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F423683
AphrontMalformedRequestException.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1003 B
Referenced Files
None
Subscribers
None
AphrontMalformedRequestException.php
View Options
<?php
/**
* These exceptions are raised when a client submits a malformed request.
*
* These errors are caught by Aphront itself and occur too early or too
* fundamentally in request handling to allow the request to route to a
* controller or survive to normal processing.
*
* These exceptions can be made "unlogged", which will prevent them from being
* logged. The intent is that errors which are purely the result of client
* failure and of no interest to the server can be raised silently to avoid
* cluttering the logs with client errors that are not actionable.
*/
final
class
AphrontMalformedRequestException
extends
AphrontException
{
private
$title
;
private
$isUnlogged
;
public
function
__construct
(
$title
,
$message
,
$unlogged
=
false
)
{
$this
->
title
=
$title
;
$this
->
isUnlogged
=
$unlogged
;
parent
::
__construct
(
$message
);
}
public
function
getTitle
()
{
return
$this
->
title
;
}
public
function
getIsUnlogged
()
{
return
$this
->
isUnlogged
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, May 2, 6:32 PM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
57188
Default Alt Text
AphrontMalformedRequestException.php (1003 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment