Class AppException
アプリケーションレベルで発生する例外の基底となる例外
アプリケーションレベルで発生した例外は全てこの例外を継承します
◆詳細◆
- この例外を直接投げるようなことはしないで下さい
- この例外を継承した\SKJ\AppException\LogicException、\SKJ\AppException\RuntimeException、もしくはこの両例外を継承した更なる詳細例外を投げて下さい
- Exception
- SKJ\AppException implements SKJ\AppExceptionInterface uses SKJ\AppExceptionMethods
Indirect known subclasses
SKJ\AppException\AbstractContainerException, SKJ\AppException\AbstractDateTimeException, SKJ\AppException\HTTP\GatewayTimeoutException, SKJ\AppException\HTTP\GoneException, SKJ\AppException\HTTP\HttpVersionNotSupportedException, SKJ\AppException\HTTP\InternalServerErrorException, SKJ\AppException\HTTP\LengthRequiredException, SKJ\AppException\HTTP\LockedException, SKJ\AppException\HTTP\MethodNotAllowedException, SKJ\AppException\HTTP\NotAcceptableException, SKJ\AppException\HTTP\NotFoundException, SKJ\AppException\HTTP\NotImplementedException, SKJ\AppException\AbstractHttpException, SKJ\AppException\HTTP\PaymentRequiredException, SKJ\AppException\HTTP\PreconditionFailedException, SKJ\AppException\HTTP\ProxyAuthenticationRequiredException, SKJ\AppException\HTTP\RequestedRangeNotSatisfiableException, SKJ\AppException\HTTP\RequestEntityTooLargeException, SKJ\AppException\HTTP\RequestTimeoutException, SKJ\AppException\HTTP\RequestUriTooLongException, SKJ\AppException\HTTP\ServiceUnavailableException, SKJ\AppException\HTTP\UnauthorizedException, SKJ\AppException\HTTP\UnprocessableEntityException, SKJ\AppException\AbstractValidationException, SKJ\AppException\HTTP\UnsupportedMediaTypeException, SKJ\AppException\HttpException, SKJ\AppException\Logic\BadFunctionCallException, SKJ\AppException\Logic\BadMethodCallException, SKJ\AppException\Logic\CircularReferenceException, SKJ\AppException\Logic\ContainerException, SKJ\AppException\Logic\DependencyInjectionException, SKJ\AppException\Logic\DomainException, SKJ\AppException\Logic\EnvironmentException, SKJ\AppException\Logic\InvalidArgumentException, SKJ\AppException\HTTP\BadGatewayException, SKJ\AppException\Logic\LengthException, SKJ\AppException\Logic\OutOfRangeException, SKJ\AppException\Logic\UnexpectedValueException, SKJ\AppException\Runtime\AuthenticationException, SKJ\AppException\Runtime\DeadLockException, SKJ\AppException\Runtime\DuplicationException, SKJ\AppException\Runtime\DurationException, SKJ\AppException\Runtime\EmptyResultException, SKJ\AppException\Runtime\ExpiryException, SKJ\AppException\Runtime\InvalidElementException, SKJ\AppException\HTTP\BadRequestException, SKJ\AppException\Runtime\MissingElementException, SKJ\AppException\Runtime\NoConditionException, SKJ\AppException\Runtime\OutOfBoundsException, SKJ\AppException\Runtime\OverflowException, SKJ\AppException\Runtime\PermissionException, SKJ\AppException\Runtime\RangeException, SKJ\AppException\Runtime\TemporaryFailureException, SKJ\AppException\Runtime\TimeoutException, SKJ\AppException\Runtime\TransactionException, SKJ\AppException\Runtime\UnavailableServiceException, SKJ\AppException\HTTP\ConflictException, SKJ\AppException\Runtime\UnderflowException, SKJ\AppException\Runtime\UnexpectedValueException, SKJ\AppException\Runtime\UploadException, SKJ\AppException\Runtime\ValidationException, SKJ\AppException\Runtime\WrongArgumentException, SKJ\AppException\HTTP\ExpectationFailedException, SKJ\AppException\HTTP\FailedDependencyException, SKJ\AppException\HTTP\ForbiddenException
Namespace: SKJ
Package: SKJ\AppException
Copyright: 2019 Seikouhou.
License: MIT
Author: y3high y3public@49364.net
Since: Class available since Release 0.8.0
Located at AppException.php
Package: SKJ\AppException
Copyright: 2019 Seikouhou.
License: MIT
Author: y3high y3public@49364.net
Since: Class available since Release 0.8.0
Located at AppException.php
public
|
#
__construct( string|array|null $message = null, integer|null $code = null, Exception $previous = null, integer|null $options = null )
コンストラクタ |
public
array
|
|
public
array
|
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
|
getIterator()
|
integer |
OPT_GLOBAL_VARS_SNAPSHOT
例外発生時のグローバル変数のスナップショットを撮りたい時に、コンストラクタの第4引数に指定する定数 |
#
1
|
integer |
OPT_CALLER_VARS_SNAPSHOT
例外発生時のローカル変数のスナップショットを撮りたい時に、コンストラクタの第4引数に指定する定数 |
#
2
|
SORT_ORDER_ASC,
SORT_ORDER_DESC
|
protected
string
|
$defMessage
サブクラスにて初期値を上書きする |
#
'例外が発生しました'
|
protected
string
|
$messageTemplate
サブクラスにて初期値を上書きする |
#
'例外が%sで発生しました'
|
protected
integer
|
$defCode
サブクラスにて初期値を上書きする |
#
1000
|
protected
mixed
|
$statusCode
サブクラスにて初期値を上書きする |
#
1000
|
protected
integer
|
$iteratorSortOrder
サブクラスにて初期値を上書きする |
#
self::SORT_ORDER_DESC
|
public static
boolean
|
$enableGlobalVarsSnapShot
例外発生時のグローバルスコープの変数情報を記録するかどうかの真偽値 |
#
false
|
public static
boolean
|
$enableCallerVarsSnapShot
例外発生時のローカルスコープの変数情報を記録するかどうかの真偽値 |
#
false
|
$code,
$file,
$line,
$message
|