expetions for try/catch errorhandling

by Sylvio Sell, Rostock 2022

Constructor

new(msg:String, pos:Int)

Variables

read onlymsg:String

Inherited Variables

Defined by Exception

read onlymessage:String

Exception message.

read onlynative:Any

Native exception, which caused this exception.

read onlyprevious:Null<Exception>

Contains an exception, which was passed to previous constructor argument.

read onlystack:CallStack

The call stack at the moment of the exception creation.

Inherited Methods

Defined by Exception

details():String

Detailed exception description.

Includes message, stack and the chain of previous exceptions (if set).

toString():String

Returns exception message.