TestFileNotFound
extends BadMethodCallException
in package
FinalYes
Exception thrown when the UtilityMethodTestCase::getTargetToken() method is run without a tokenized test case file being available.
Tags
Table of Contents
Methods
- __construct() : void
- Create a new "test file not found" exception with a standardized text.
Methods
__construct()
Create a new "test file not found" exception with a standardized text.
public
__construct([string $message = '' ][, int $code = 0 ][, Throwable|null $previous = null ]) : void
Parameters
- $message : string = ''
-
The Exception message to throw.
- $code : int = 0
-
The Exception code.
- $previous : Throwable|null = null
-
The previous exception used for the exception chaining.