Class EmptyResultException
空結果実行例外
結果が得られなかった場合に使用する例外です
◆詳細◆
- 結果が得られなかった場合に利用される
- 例)SELECT文を発行したが結果が得られなかった
- 例)APIを呼び出したが、レスポンスデータは0件だった
- Exception
- SKJ\AppException implements SKJ\AppExceptionInterface uses SKJ\AppExceptionMethods
- SKJ\AppException\RuntimeException
- SKJ\AppException\Runtime\EmptyResultException
Namespace: SKJ\AppException\Runtime
Package: SKJ\AppException\Runtime
Copyright: 2019 Seikouhou.
License: MIT
Author: y3high y3public@49364.net
Since: Class available since Release 0.8.0
Located at exceptions/Runtime/EmptyResultException.php
Package: SKJ\AppException\Runtime
Copyright: 2019 Seikouhou.
License: MIT
Author: y3high y3public@49364.net
Since: Class available since Release 0.8.0
Located at exceptions/Runtime/EmptyResultException.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が渡されなかった場合の既定の例外コード |
#
1322
|
protected
mixed
|
$statusCode
補助的に使用される状態コード(デフォルトはself::$defCodeと同じ) |
#
1322
|
$iteratorSortOrder
|
$enableCallerVarsSnapShot,
$enableGlobalVarsSnapShot
|
$code,
$file,
$line,
$message
|