Overview

Namespaces

  • SKJ
    • AppException
      • HTTP
      • Logic
      • Runtime

Exceptions

  • AuthenticationException
  • DeadLockException
  • DuplicationException
  • DurationException
  • EmptyResultException
  • ExpiryException
  • InvalidElementException
  • MissingElementException
  • NoConditionException
  • OutOfBoundsException
  • OverflowException
  • PermissionException
  • RangeException
  • TemporaryFailureException
  • TimeoutException
  • TransactionException
  • UnavailableServiceException
  • UnderflowException
  • UnexpectedValueException
  • UploadException
  • ValidationException
  • WrongArgumentException
  • Overview
  • Namespace
  • Class

Class DurationException

期間内エラー実行例外

期間内である事により処理が失敗した場合に使用する例外です

◆詳細◆

  • 期間内である事により処理が失敗した場合に利用する
  • 例)再利用禁止期間が過ぎていないのに、リソースに対して操作リクエストが発生した
Exception
Extended by SKJ\AppException implements SKJ\AppExceptionInterface uses SKJ\AppExceptionMethods
Extended by SKJ\AppException\RuntimeException
Extended by SKJ\AppException\AbstractDateTimeException
Extended by SKJ\AppException\Runtime\DurationException
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/DurationException.php
Methods inherited from SKJ\AppException\AbstractDateTimeException
getDateTime(), setDateTime()
Methods inherited from SKJ\AppException
__construct(), getCallerVars(), getGlobalVars()
Methods inherited from Exception
__toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Methods inherited from IteratorAggregate
getIterator()
Methods inherited from SKJ\AppExceptionInterface
disableSkipContainer(), enableSkipContainer(), forge(), getBaseExceptionCode(), getCallQueue(), getClass(), getExceptionLog(), getFields(), getFuncArgsInCurrentContext(), getFunction(), getFunctionInCurrentContext(), getLineInCurrentContext(), getOriginalClassName(), getOriginalException(), getStatusCode(), isExtension(), renew(), resetFilter(), setCode(), setFields(), setFile(), setFilter(), setLine(), setMessage(), setSortOrder(), setStatusCode(), wasCreatedInCurrentContext()
Methods used from SKJ\AppExceptionMethods
disableSkipContainer(), enableSkipContainer(), forge(), getBaseExceptionCode(), getCallQueue(), getClass(), getExceptionLog(), getFields(), getFuncArgsInCurrentContext(), getFunction(), getFunctionInCurrentContext(), getLineInCurrentContext(), getOriginalClassName(), getOriginalException(), getStatusCode(), isExtension(), renew(), resetFilter(), setCode(), setFields(), setFile(), setFilter(), setLine(), setMessage(), setSortOrder(), setStatusCode(), wasCreatedInCurrentContext()
Constants inherited from SKJ\AppException
OPT_CALLER_VARS_SNAPSHOT, OPT_GLOBAL_VARS_SNAPSHOT
Constants inherited from SKJ\AppExceptionInterface
SORT_ORDER_ASC, SORT_ORDER_DESC
Properties summary
protected string $defMessage

コンストラクタの引数$messageが渡されなかった場合の既定の例外メッセージ

コンストラクタの引数$messageが渡されなかった場合の既定の例外メッセージ

Api

# '期間が満了ではありません'
protected string $messageTemplate

コンストラクタの引数$messageが配列で渡された場合にvsprintfに渡すフォーマット文字列

コンストラクタの引数$messageが配列で渡された場合にvsprintfに渡すフォーマット文字列

Api

# '%sはまだ期間内です'
protected integer $defCode

コンストラクタの引数$codeが渡されなかった場合の既定の例外コード

コンストラクタの引数$codeが渡されなかった場合の既定の例外コード

Api

# 1328
protected mixed $statusCode

補助的に使用される状態コード(デフォルトはself::$defCodeと同じ)

補助的に使用される状態コード(デフォルトはself::$defCodeと同じ)

Api

# 1328
Properties inherited from SKJ\AppException\RuntimeException
$iteratorSortOrder
Properties inherited from SKJ\AppException
$enableCallerVarsSnapShot, $enableGlobalVarsSnapShot
Properties inherited from Exception
$code, $file, $line, $message
API documentation generated by ApiGen