跳转到主要内容

exception

ENTITY

Exception is the base class for exceptions that can be handled during normal operation.

ENTITY

Exception

implements

Throwable

ENTITY

protected

string

message

""

private

string

string

""

protected

int

code

protected

string

file

""

protected

int

line

private

array

trace

[]

private

Throwable

null

previous

null

ENTITY

ENTITY

message
The exception message

code
The exception code

file
The filename where the exception was created

line
The line where the exception was created

previous
The previously thrown exception

string
The string representation of the stack trace

trace
The stack trace as an array

ENTITY ENTITY ENTITY ENTITY ENTITY ENTITY ENTITY ENTITY ENTITY ENTITY