RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
EInvalidCast Class

EInvalidCast is an exception class for typecasting errors.

Pascal
EInvalidCast = class(Exception);
C++
class EInvalidCast : public Exception;

EInvalidCast is raised when an illegal typecast is attempted. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!