[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Raises an exception when the specified mask character or offset is invalid.
Source position: masks.pas line 199
protected class procedure TMaskBase.Exception_InvalidCharMask( |
const aMaskChar: string; |
aOffset: Integer = - 1 |
); |
aMaskChar |
|
Mask character which caused the exception. |
aOffset |
|
Offset where the invalid mask character was found. |
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.
|
Raises an EMaskError exception when the closing ']' character is omitted from a set or range expression. |
|
|
Raises an EMaskError exception when escaped characters in a set is enabled, but range processing has not been enabled. |
|
|
Raises an EMaskError exception when an invalid value is assigned to the EscapeChar property. |
|
|
Raises an EMaskError exception when a parsed op code does not match an expected value in the mask expression. |
|
|
Examines the mask expression and creates a list of op codes. |
|
|
Examines and converts the mask expression into a list of op codes. |
Version 4.0 | Generated 2025-05-03 | Home |