TimerException
extends SdkException
in package
This is the Exception class for errors throwed doing a time measurement.
Table of Contents
ALREADY_EXECUTED | = 'F030-T007' | |
---|---|---|
ALREADY_STARTED | = 'F030-T001' | |
ALREADY_STOPPED | = 'F030-T002' | |
CANNOT_ADD_FLAG | = 'F030-T003' | |
EXISTING_FLAG | = 'F030-T005' | |
NOT_STARTED | = 'F030-T006' | |
UNDEFINED_FLAG | = 'F030-T004' | |
UNFINISHED | = 'F030-T000' | |
__construct() | Constructor. | : mixed |
__toString() | Auto-invoked using echo or concatenations. | : string |
Constants
ALREADY_EXECUTED
public
mixed
ALREADY_EXECUTED
= 'F030-T007'
ALREADY_STARTED
public
mixed
ALREADY_STARTED
= 'F030-T001'
ALREADY_STOPPED
public
mixed
ALREADY_STOPPED
= 'F030-T002'
CANNOT_ADD_FLAG
public
mixed
CANNOT_ADD_FLAG
= 'F030-T003'
EXISTING_FLAG
public
mixed
EXISTING_FLAG
= 'F030-T005'
NOT_STARTED
public
mixed
NOT_STARTED
= 'F030-T006'
UNDEFINED_FLAG
public
mixed
UNDEFINED_FLAG
= 'F030-T004'
UNFINISHED
public
mixed
UNFINISHED
= 'F030-T000'
Methods
__construct()
Constructor.
public
__construct([string $message = null ][, string $code = '' ][, Exception $previous = null ]) : mixed
Creates the exception.
Parameters
- $message : string = null
-
The exception message
- $code : string = ''
-
The exception code
- $previous : Exception = null
-
The exception that precedes the current exception
Tags
Return values
mixed —__toString()
Auto-invoked using echo or concatenations.
public
__toString() : string
Useful to log errors.