InvalidBase64Data class

From m204wiki
Revision as of 05:14, 22 April 2011 by Goff (talk | contribs) (yourself)
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 yourself, 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".