JSValue jsXPathExceptionMessage(ExecState* exec, JSValue slotBase, const Identifier&) { JSXPathException* castedThis = static_cast<JSXPathException*>(asObject(slotBase)); UNUSED_PARAM(exec); XPathException* imp = static_cast<XPathException*>(castedThis->impl()); JSValue result = jsString(exec, imp->message()); return result; }
static v8::Handle<v8::Value> messageAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) { XPathException* imp = V8XPathException::toNative(info.Holder()); return v8String(imp->message(), info.GetIsolate()); }