class Optional · pdftoolkit/pdf-reader 0.1.7

PDF\Reading\ParseException
Diagnostics expose positions and fixed descriptions, never document contents.

Read the source declaration ↗

Inheritance and contracts

Parent : RuntimeException

Interfaces : Stringable, Throwable

1 directly derived types

Construction

__construct()

public function __construct(string $message, ?int $offset = null)

Declared by PDF\Reading\ParseException · View the code ↗

Inherited methods

9 methods from parents and contracts

__toString()

public function __toString(): string

Déclarée par Exception · View the code ↗

__wakeup()

public function __wakeup(): void

Déclarée par Exception · View the code ↗

getCode()

public final function getCode()

Déclarée par Exception · View the code ↗

getFile()

public final function getFile(): string

Déclarée par Exception · View the code ↗

getLine()

public final function getLine(): int

Déclarée par Exception · View the code ↗

getMessage()

public final function getMessage(): string

Déclarée par Exception · View the code ↗

getPrevious()

public final function getPrevious(): ?Throwable

Déclarée par Exception · View the code ↗

getTrace()

public final function getTrace(): array

Déclarée par Exception · View the code ↗

getTraceAsString()

public final function getTraceAsString(): string

Déclarée par Exception · View the code ↗

Properties

DeclarationOrigin and documentation
protected $codeException
protected string $fileException
protected int $lineException
protected $messageException
public readonly ?int $offsetPDF\Reading\ParseException