Repository navigation
Internals Runtime Exceptions RuntimeException
Framework Internals · Subsystem overview · Developer guide
Source: awt_src/classes/runtime/exceptions/RuntimeException.php · Snapshot 8411f4287706.
Runtime state, package API classes, loader, executor and orchestrator have separate responsibilities. Dependency validation precedes package code and nested execution restores context.
use runtime\enums\ERuntimeExceptionsMessage;class RuntimeException extends \RuntimeExceptionSource description (behavioral corrections are recorded in Known discrepancies):
Diagnostics can be raised before a package context exists.
Declarations below preserve visibility, type, default and modifiers exactly. A typed property without an initializer remains uninitialized until its constructor or another method assigns it. Mutable fields belong to this instance unless marked static; readonly fields can be initialized once. Constructor-promoted properties are also listed below.
| Member | Declaration | Purpose or source contract |
|---|---|---|
| Constructor-promoted | public function __construct(string|ERuntimeExceptionsMessage $message |
Initialized from the constructor argument; default expression is evaluated when the argument is omitted. |
| Method | Signature |
|---|---|
| __construct | public function __construct(string|ERuntimeExceptionsMessage $message, ?\Throwable $previous = null) |
public function __construct(string|ERuntimeExceptionsMessage $message, ?\Throwable $previous = null)| Parameter | Type, modifiers and default | Purpose |
|---|---|---|
$message |
string|ERuntimeExceptionsMessage $message |
Response or exception message text. |
$previous |
?\Throwable $previous = null |
Operation input; the exact use, validation and propagation are shown in the implementation trace. |
Computes or delegates the operation shown below; no explicit receiver property assignment or throw occurs in this method.
Implementation, validation guards and interaction order
public function __construct(string|ERuntimeExceptionsMessage $message, ?\Throwable $previous = null)
{
parent::__construct($message instanceof ERuntimeExceptionsMessage ? $message->value : $message, 0, $previous);
}AWT Framework Wiki · Home · Installation Guide · Developer Guide · Framework Internals
Philosophy · Architecture · Known discrepancies · Verification
Installation Guide
Developer Guide
- Learning sequence
- First package
- Package structure
- Lifecycle
- Runtimes
- Events and objects
- Routing and controllers
- Views and resources
- Database and models
- Storage and caching
- Configuration and CLI
- Responses and errors
- Extension points
Framework Internals
- Architecture
- Bootstrap
- Packages
- Runtime
- Events and context
- Objects
- HTTP routing and controllers
- Rendering
- Blade integration
- Database
- Models
- Storage and caching
- Settings
- CLI
- Identity and sessions
- Responses
- Errors
- Complete source inventory
Documentation notes