TMaskBase.Exception_InvalidCharMask procedure
Raises an exception when the specified mask character or offset is invalid.
Declaration
class procedure Exception_InvalidCharMask(const aMaskChar: string;
aOffset: Integer=- 1); staticArguments
aMaskChar | Mask character which caused the exception. |
aOffset | Offset where the invalid mask character was found. |
Description
Exception_InvalidCharMask is a class procedure used to raise an exception when a character in the mask expression is invalid. Exception_InvalidCharMask is one of the methods called during execution of the Compile method (in descendent classes) when an invalid Mask expression is detected for the class instance.
In TMaskBase, an EMaskError exception is always raised. The base class does not implement the required mask expression, nor does it provide a complete implementation of the Compile method.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
