InvalidBase64Data class: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(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...")
 
m (1 revision)
(No difference)

Revision as of 21:26, 16 January 2011

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