I18nException
extends FrameworkException
in package
I18nException
Table of Contents
Methods
- __construct() : mixed
- Tweaks the exception's constructor to assign the file/line to where it is actually raised rather than were it is instantiated.
- forCopyError() : static
- forEnabledZlibOutputCompression() : static
- forFabricatorCreateFailed() : static
- forInvalidDay() : static
- Thrown when the supplied day falls outside the range of allowed days.
- forInvalidDirectory() : static
- forInvalidFile() : static
- forInvalidFormat() : static
- Thrown when createFromFormat fails to receive a valid DateTime back from DateTime::createFromFormat.
- forInvalidHour() : static
- Thrown when the supplied hour falls outside the range of allowed hours.
- forInvalidMinutes() : static
- Thrown when the supplied minutes falls outside the range of allowed minutes.
- forInvalidMonth() : static
- Thrown when the numeric representation of the month falls outside the range of allowed months.
- forInvalidOverDay() : static
- Thrown when the day provided falls outside the allowed last day for the given month.
- forInvalidSeconds() : static
- Thrown when the supplied seconds falls outside the range of allowed seconds.
- forMissingExtension() : static
- forNoHandlers() : static
Methods
__construct()
Tweaks the exception's constructor to assign the file/line to where it is actually raised rather than were it is instantiated.
public
final __construct([string $message = '' ][, int $code = 0 ][, Throwable|null $previous = null ]) : mixed
Parameters
- $message : string = ''
- $code : int = 0
- $previous : Throwable|null = null
forCopyError()
public
static forCopyError(string $path) : static
Parameters
- $path : string
Return values
staticforEnabledZlibOutputCompression()
public
static forEnabledZlibOutputCompression() : static
Return values
staticforFabricatorCreateFailed()
public
static forFabricatorCreateFailed(string $table, string $reason) : static
Parameters
- $table : string
- $reason : string
Return values
staticforInvalidDay()
Thrown when the supplied day falls outside the range of allowed days.
public
static forInvalidDay(string $day) : static
Parameters
- $day : string
Return values
staticforInvalidDirectory()
public
static forInvalidDirectory(string $path) : static
Parameters
- $path : string
Return values
staticforInvalidFile()
public
static forInvalidFile(string $path) : static
Parameters
- $path : string
Return values
staticforInvalidFormat()
Thrown when createFromFormat fails to receive a valid DateTime back from DateTime::createFromFormat.
public
static forInvalidFormat(string $format) : static
Parameters
- $format : string
Return values
staticforInvalidHour()
Thrown when the supplied hour falls outside the range of allowed hours.
public
static forInvalidHour(string $hour) : static
Parameters
- $hour : string
Return values
staticforInvalidMinutes()
Thrown when the supplied minutes falls outside the range of allowed minutes.
public
static forInvalidMinutes(string $minutes) : static
Parameters
- $minutes : string
Return values
staticforInvalidMonth()
Thrown when the numeric representation of the month falls outside the range of allowed months.
public
static forInvalidMonth(string $month) : static
Parameters
- $month : string
Return values
staticforInvalidOverDay()
Thrown when the day provided falls outside the allowed last day for the given month.
public
static forInvalidOverDay(string $lastDay, string $day) : static
Parameters
- $lastDay : string
- $day : string
Return values
staticforInvalidSeconds()
Thrown when the supplied seconds falls outside the range of allowed seconds.
public
static forInvalidSeconds(string $seconds) : static
Parameters
- $seconds : string
Return values
staticforMissingExtension()
public
static forMissingExtension(string $extension) : static
No longer used.
Parameters
- $extension : string
Return values
staticforNoHandlers()
public
static forNoHandlers(string $class) : static
Parameters
- $class : string