Lines Matching full:exception
29 // 1. If Type(target) is not Object, throw a TypeError exception. in ProxyCreate()
32 JSHandle<JSProxy>(thread, JSTaggedValue::Exception())); in ProxyCreate()
35 // 2. If Type(handler) is not Object, throw a TypeError exception. in ProxyCreate()
38 JSHandle<JSProxy>(thread, JSTaggedValue::Exception())); in ProxyCreate()
53 // 2. If handler is null, throw a TypeError exception. in GetPrototype()
55 …YPE_ERROR_AND_RETURN(thread, "JSProxy::GetPrototype: handler is null", JSTaggedValue::Exception()); in GetPrototype()
78 // 10. If Type(handlerProto) is neither Object nor Null, throw a TypeError exception. in GetPrototype()
81 JSTaggedValue::Exception()); in GetPrototype()
95 // 16. If SameValue(handlerProto, targetProto) is false, throw a TypeError exception. in GetPrototype()
98 JSTaggedValue::Exception()); in GetPrototype()
111 // 3. If handler is null, throw a TypeError exception. in SetPrototype()
155 …. If booleanTrapResult is true and SameValue(V, targetProto) is false, throw a TypeError exception. in SetPrototype()
168 // 2. If handler is null, throw a TypeError exception. in IsExtensible()
199 // 12. If SameValue(booleanTrapResult, targetResult) is false, throw a TypeError exception. in IsExtensible()
212 // 2. If handler is null, throw a TypeError exception. in PreventExtensions()
246 // c. If targetIsExtensible is true, throw a TypeError exception. in PreventExtensions()
261 // 3. If handler is null, throw a TypeError exception. in GetOwnProperty()
270 // 11. If Type(trapResultObj) is neither Object nor Undefined, throw a TypeError exception in GetOwnProperty()
293 // 11. If Type(trapResultObj) is neither Object nor Undefined, throw a TypeError exception. in GetOwnProperty()
309 // b. If targetDesc.[[Configurable]] is false, throw a TypeError exception. in GetOwnProperty()
316 // f. If extensibleTarget is false, throw a TypeError exception. in GetOwnProperty()
344 // If targetDesc.[[Writable]] is true, throw a TypeError exception. in GetOwnProperty()
349 // If targetDesc.[[Writable]] is true, throw a TypeError exception. in GetOwnProperty()
409 // a. If extensibleTarget is false, throw a TypeError exception. in DefineOwnProperty()
413 // b. If settingConfigFalse is true, throw a TypeError exception. in DefineOwnProperty()
419 // exception. in DefineOwnProperty()
423 …If settingConfigFalse is true and targetDesc.[[Configurable]] is true, throw a TypeError exception. in DefineOwnProperty()
428 … then If Desc has a [[Writable]] field and Desc.[[Writable]] is false, throw a TypeError exception. in DefineOwnProperty()
434 … then If Desc has a [[Writable]] field and Desc.[[Writable]] is false, throw a TypeError exception. in DefineOwnProperty()
484 // i. If targetDesc.[[Configurable]] is false, throw a TypeError exception. in HasProperty()
490 // iv. If extensibleTarget is false, throw a TypeError exception. in HasProperty()
506 JSHandle<JSTaggedValue> exceptionHandle(thread, JSTaggedValue::Exception()); in GetProperty()
546 … // i. If SameValue(trapResult, targetDesc.[[Value]]) is false, throw a TypeError exception. in GetProperty()
557 // i. If trapResult is not undefined, throw a TypeError exception. in GetProperty()
610 … // i. If SameValue(trapResult, targetDesc.[[Value]]) is false, throw a TypeError exception. in SetProperty()
616 // i. If targetDesc.[[Set]] is undefined, throw a TypeError exception. in SetProperty()
665 // 15. If targetDesc.[[Configurable]] is false, throw a TypeError exception. in DeleteProperty()
686 JSHandle<TaggedArray>(thread, JSTaggedValue::Exception())); in OwnPropertyKeys()
715 // If trapResult contains any duplicate entries, throw a TypeError exception. in OwnPropertyKeys()
722 JSHandle<TaggedArray>(thread, JSTaggedValue::Exception())); in OwnPropertyKeys()
782 // a.If key is not an element of uncheckedResultKeys, throw a TypeError exception. in OwnPropertyKeys()
788 JSHandle<TaggedArray>(thread, JSTaggedValue::Exception())); in OwnPropertyKeys()
800 // a.If key is not an element of uncheckedResultKeys, throw a TypeError exception. in OwnPropertyKeys()
806 JSHandle<TaggedArray>(thread, JSTaggedValue::Exception())); in OwnPropertyKeys()
812 // 24.If uncheckedResultKeys is not empty, throw a TypeError exception. in OwnPropertyKeys()
815 JSHandle<TaggedArray>(thread, JSTaggedValue::Exception())); in OwnPropertyKeys()
830 THROW_TYPE_ERROR_AND_RETURN(thread, "Call: handler is null", JSTaggedValue::Exception()); in CallInternal()
867 … THROW_TYPE_ERROR_AND_RETURN(thread, "Constructor: handler is null", JSTaggedValue::Exception()); in ConstructInternal()
901 // 11.If Type(newObj) is not Object, throw a TypeError exception. in ConstructInternal()
903 THROW_TYPE_ERROR_AND_RETURN(thread, "new object is not object", JSTaggedValue::Exception()); in ConstructInternal()