InvalidHexData class

From m204wiki
Revision as of 20:01, 14 January 2011 by Dme (talk | contribs) (Created page with "<!-- InvalidHexData class --> The InvalidHexData exception class describes an exception associated with finding non-hexadecimal data where hexadecimal data was expected, usually ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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]]".