Internet Direct (Indy)
Home
PreviousUpNext
EIdException.Toss Method

Raises the exception class with the specified message.

Pascal
class procedure Toss(
    const AMsg: string
);
Parameters 
Description 
AMsg 
Exception message text to assign to the exception instance. 

Toss is a class procedure used to raise an instance of the exception class with the exception message specified in AMsg. As a class method, Toss can be called without creating a prior instance of the exception class. 

Toss is used in the implementation of other class methods in EIdException.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.