InvalidHexData class: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<!-- InvalidHexData class --> The InvalidHexData exception class describes an exception associated with finding non-hexadecimal data where hexadecimal data was expected, usually ...") |
m (1 revision) |
(No difference)
|
Revision as of 21:26, 16 January 2011
The InvalidHexData exception class describes an exception associated with finding non-hexadecimal data where hexadecimal data was expected, usually when translating the hexadecimal data to something else.
To produce an InvalidHexData exception, you typically use a User Language Throw
statement with an InvalidHexData New constructor.
This statement must be issued from within a method, and it can only be
caught by the code that calls the method.
For example,
the following statement throws an InvalidHexData exception with the position
set to 1
:
throw %(invalidHexData):new(position=1)
The methods in this class are listed at "[[List of InvalidHexData methods]]".