InvalidQuadException
extends RuntimeException
in package
Exception that is thrown when an invalid quad is detected.
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- Constructor.
- getQuad() : Quad
- Gets the quad
- setQuad() : mixed
- Sets the quad
Properties
$quad
The quad that triggered this exception
private
Quad
$quad
Methods
__construct()
Constructor.
public
__construct(string $message, Quad $quad[, null|Exception $previous = null ]) : mixed
Parameters
- $message : string
-
The error message
- $quad : Quad
-
The quad
- $previous : null|Exception = null
-
The previous exception
getQuad()
Gets the quad
public
getQuad() : Quad
Return values
Quad —The quad.
setQuad()
Sets the quad
public
setQuad(Quad $quad) : mixed
Parameters
- $quad : Quad
-
The quad.