DeepPagingException
extends RuntimeException
in package
Exception for paging too deep into search results.
Tags
Table of Contents
- $legalPage : int
- A legal page number.
- __construct() : void
- Constructor.
- getLegalPage() : int
- Get a legal page we can redirect the user to.
Properties
$legalPage
A legal page number.
protected
int
$legalPage
Methods
__construct()
Constructor.
public
__construct(string $message, int $code, int $legalPage[, Exception $prev = null ]) : void
Parameters
- $message : string
-
Exception message
- $code : int
-
Exception code
- $legalPage : int
-
A legal page number for results
- $prev : Exception = null
-
Previous exception
Return values
void —getLegalPage()
Get a legal page we can redirect the user to.
public
getLegalPage() : int