Topic Path: Symbol Reference > Classes > EIdException Class > EIdException Methods > Toss Method
ContentsIndexHome
PreviousUpNext
EIdException.Toss Method

Raises the exception class with the specified message.

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.

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.