Class \Prado\Exceptions\TExitException
TExitException class
Throwing TExitException will interrupt the application and gracefully terminate. The application will exit with the specified \Prado\Exceptions\getExitCode.
This exception is not designed to be caught by any class other than TApplication. If this exception is caught, it may interfere with the graceful termination of the application.
Class hierarchy
- \Prado\Exceptions\TExitException
- \Prado\Exceptions\TSystemException
- \Prado\Exceptions\TException
- \Exception
Since: 4.3.0
public
|
__construct([int $exitCode = 0 ][, string|null $message = null ], array<string|int, mixed> ...$args) : mixed
Constructor.
|
public
|
__construct, addMessageFile, getErrorCode, getErrorMessage, setErrorCode, getErrorMessageFile, setErrorMessage, translateErrorMessage |