La clase Win32ServiceException

(PECL win32service >=1.0.0)

Introducción

La excepción reemplaza el antiguo mecanismo donde el valor de error debía ser comparado con las constantes para detectar qué error había sido emitido. El código de la excepción es igual al valor de la constante de error y el mensaje de la excepción se basa en el nombre de la constante correspondiente.

Sinopsis de la Clase

class Win32ServiceException extends Exception {
/* Propiedades heredadas */
protected string $message = "";
private string $string = "";
protected int $code;
protected string $file = "";
protected int $line;
private array $trace = [];
private ?Throwable $previous = null;
/* Métodos heredados */
final public function Exception::getMessage(): string
final public function Exception::getPrevious(): ?Throwable
final public function Exception::getCode(): int
final public function Exception::getFile(): string
final public function Exception::getLine(): int
final public function Exception::getTrace(): array
final public function Exception::getTraceAsString(): string
public function Exception::__toString(): string
private function Exception::__clone(): void
}
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top