InvalidBase64Data class

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

The InvalidBase64Data exception class describes an exception associated with finding non-base64-encoded data where base64-encoded data was expected, usually when decoding base64-encoded data.

To produce an InvalidBase64Data exception, you typically use a User Language Throw statement with an InvalidBase64Data 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 InvalidBase64Data exception with the position set to 2:

throw %(invalidBase64Data):new(position=2)

The methods in this class are listed at "[[List of InvalidBase64Data methods]]".