Class DomainException
データドメイン外値ロジック例外
定義されたデータドメインに値が従わないときにスローされる例外です
◆詳細◆
- この例外が発生した場合はコードの修正が必要です
- 基本的には事前に用意されているデータリストに、あるはずの値が存在しない場合などに利用されます
- 例)存在しない定数が参照された
- Exception
- SKJ\AppException implements SKJ\AppExceptionInterface uses SKJ\AppExceptionMethods
- SKJ\AppException\LogicException
- SKJ\AppException\Logic\DomainException
Namespace: SKJ\AppException\Logic
Package: SKJ\AppException\Logic
Copyright: 2019 Seikouhou.
License: MIT
Author: y3high y3public@49364.net
Since: Class available since Release 0.8.0
Located at exceptions/Logic/DomainException.php
Package: SKJ\AppException\Logic
Copyright: 2019 Seikouhou.
License: MIT
Author: y3high y3public@49364.net
Since: Class available since Release 0.8.0
Located at exceptions/Logic/DomainException.php
__construct(),
getCallerVars(),
getGlobalVars()
|
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
|
getIterator()
|
OPT_CALLER_VARS_SNAPSHOT,
OPT_GLOBAL_VARS_SNAPSHOT
|
SORT_ORDER_ASC,
SORT_ORDER_DESC
|
protected
string
|
$defMessage
コンストラクタの引数$messageが渡されなかった場合の既定の例外メッセージ |
#
'データドメイン外の値が発生しました'
|
protected
string
|
$messageTemplate
コンストラクタの引数$messageが配列で渡された場合にvsprintfに渡すフォーマット文字列 |
#
'%sでデータドメイン外の値が発生しました'
|
protected
integer
|
$defCode
コンストラクタの引数$codeが渡されなかった場合の既定の例外コード |
#
1302
|
protected
mixed
|
$statusCode
補助的に使用される状態コード(デフォルトはself::$defCodeと同じ) |
#
1302
|
$iteratorSortOrder
|
$enableCallerVarsSnapShot,
$enableGlobalVarsSnapShot
|
$code,
$file,
$line,
$message
|