NPN_SetException

« Gecko Plugin API Reference « Scripting plugins

Summary

A plugin can call this function to indicate that a call to one of the plugin's NPObjects generated an error.

Syntax

#include <npruntime.h>
void NPN_SetException(NPObject *npobj, const NPUTF8 *message);

Parameters

The function has the following parameters:

<tt>npobj</tt>
The object on which the exception occurred.
<tt>message</tt>
A UTF-8 string describing the error that occurred.

Returns

Nothing.

Document Tags and Contributors

Tags: 
 Contributors to this page: teoli, Sheppy
 Last updated by: teoli,