mozilla
Your Search Results

    NPN_SetException

    Our volunteers haven't translated this article into Deutsch yet. Join us and help get the job done!

    « 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

    Schlagwörter: 
    Contributors to this page:
    Last updated by: Sheppy,