PHP Class Exceptions\Http\Client\RequestedRangeNotSatisfiableException
Never throw an exception at the user, always catch it can synthesize it to a correct html response with
appropriate headers. You can use the constants and accessor to get HTML values to return.
显示文件
Open project: crazycodr/standard-exceptions
Public Methods
Method Details
__construct()
public method
RequestedRangeNotSatisfiableException constructor.
public __construct ( string $message = self::HTTP_MESSAGE, integer $code = self::HTTP_CODE, null $previous = null ) |
$message |
string |
Error message (HTTP) that defines this exception |
$code |
integer |
Error code (HTTP) that defines this exception |
$previous |
null |
Inner/Previous exception that triggered this exception |
getHttpCode()
public static method
getHttpMessage()
public static method