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.
Author: Mathieu Dumoulin aka CrazyCodr ([email protected])
Inheritance: extends ClientErrorException
Datei anzeigen Open project: crazycodr/standard-exceptions

Public Methods

Method Description
__construct ( string $message = self::HTTP_MESSAGE, integer $code = self::HTTP_CODE, null $previous = null ) RequestedRangeNotSatisfiableException constructor.
getHttpCode ( )
getHttpMessage ( )

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

public static getHttpCode ( )

getHttpMessage() public static method

public static getHttpMessage ( )