win32service Win32ServiceException 클래스
(PECL win32service >=1.0.0)
소개
예외는 발생한 오류를 감지하기 위해 상수와 오류 값을 비교해야 했던 이전 메커니즘을 대체합니다. 예외 코드는 오류 값의 값과 동일하며 예외 메시지는 해당 상수 이름을 기반으로 합니다.
클래스 개요
class Win32ServiceException extends Exception {
/* Inherited properties */
protected string $message = "";
private string $string = "";
protected int $code;
protected string $file = "";
protected int $line;
private array $trace = [];
private ?Throwable $previous = null;
/* Inherited methods */
final public Exception::getMessage(): string
final public Exception::getPrevious(): ?Throwable
final public Exception::getCode(): int
final public Exception::getFile(): string
final public Exception::getLine(): int
final public Exception::getTrace(): array
final public Exception::getTraceAsString(): string
public Exception::__toString(): string
private Exception::__clone(): void
}