api.cgi.extendProperties(object{
    message: "Example of exception thrown from widget."
}, this );
throw this.message

