Lines Matching full:exception
30 // 1. If Type(target) is not Object, throw a TypeError exception. in ProxyCreate()
33 JSHandle<JSProxy>(thread, JSTaggedValue::Exception())); in ProxyCreate()
36 // 2. If Type(handler) is not Object, throw a TypeError exception. in ProxyCreate()
39 JSHandle<JSProxy>(thread, JSTaggedValue::Exception())); in ProxyCreate()
55 // 2. If handler is null, throw a TypeError exception. in GetPrototype()
57 …YPE_ERROR_AND_RETURN(thread, "JSProxy::GetPrototype: handler is null", JSTaggedValue::Exception()); in GetPrototype()
82 // 10. If Type(handlerProto) is neither Object nor Null, throw a TypeError exception. in GetPrototype()
85 JSTaggedValue::Exception()); in GetPrototype()
99 // 16. If SameValue(handlerProto, targetProto) is false, throw a TypeError exception. in GetPrototype()
102 JSTaggedValue::Exception()); in GetPrototype()
116 // 3. If handler is null, throw a TypeError exception. in SetPrototype()
162 …. If booleanTrapResult is true and SameValue(V, targetProto) is false, throw a TypeError exception. in SetPrototype()
176 // 2. If handler is null, throw a TypeError exception. in IsExtensible()
209 // 12. If SameValue(booleanTrapResult, targetResult) is false, throw a TypeError exception. in IsExtensible()
223 // 2. If handler is null, throw a TypeError exception. in PreventExtensions()
259 // c. If targetIsExtensible is true, throw a TypeError exception. in PreventExtensions()
275 // 3. If handler is null, throw a TypeError exception. in GetOwnProperty()
284 // 11. If Type(trapResultObj) is neither Object nor Undefined, throw a TypeError exception in GetOwnProperty()
309 // 11. If Type(trapResultObj) is neither Object nor Undefined, throw a TypeError exception. in GetOwnProperty()
325 // b. If targetDesc.[[Configurable]] is false, throw a TypeError exception. in GetOwnProperty()
332 // f. If extensibleTarget is false, throw a TypeError exception. in GetOwnProperty()
360 // If targetDesc.[[Writable]] is true, throw a TypeError exception. in GetOwnProperty()
365 // If targetDesc.[[Writable]] is true, throw a TypeError exception. in GetOwnProperty()
428 // a. If extensibleTarget is false, throw a TypeError exception. in DefineOwnProperty()
432 // b. If settingConfigFalse is true, throw a TypeError exception. in DefineOwnProperty()
438 // exception. in DefineOwnProperty()
442 …If settingConfigFalse is true and targetDesc.[[Configurable]] is true, throw a TypeError exception. in DefineOwnProperty()
447 … then If Desc has a [[Writable]] field and Desc.[[Writable]] is false, throw a TypeError exception. in DefineOwnProperty()
453 … then If Desc has a [[Writable]] field and Desc.[[Writable]] is false, throw a TypeError exception. in DefineOwnProperty()
506 // i. If targetDesc.[[Configurable]] is false, throw a TypeError exception. in HasProperty()
512 // iv. If extensibleTarget is false, throw a TypeError exception. in HasProperty()
529 JSHandle<JSTaggedValue> exceptionHandle(thread, JSTaggedValue::Exception()); in GetProperty()
572 … // i. If SameValue(trapResult, targetDesc.[[Value]]) is false, throw a TypeError exception. in GetProperty()
583 // i. If trapResult is not undefined, throw a TypeError exception. in GetProperty()
640 … // i. If SameValue(trapResult, targetDesc.[[Value]]) is false, throw a TypeError exception. in SetProperty()
646 // i. If targetDesc.[[Set]] is undefined, throw a TypeError exception. in SetProperty()
698 // 15. If targetDesc.[[Configurable]] is false, throw a TypeError exception. in DeleteProperty()
720 JSHandle<TaggedArray>(thread, JSTaggedValue::Exception())); in OwnPropertyKeys()
752 // If trapResult contains any duplicate entries, throw a TypeError exception. in OwnPropertyKeys()
759 JSHandle<TaggedArray>(thread, JSTaggedValue::Exception())); in OwnPropertyKeys()
819 // a.If key is not an element of uncheckedResultKeys, throw a TypeError exception. in OwnPropertyKeys()
825 JSHandle<TaggedArray>(thread, JSTaggedValue::Exception())); in OwnPropertyKeys()
837 // a.If key is not an element of uncheckedResultKeys, throw a TypeError exception. in OwnPropertyKeys()
843 JSHandle<TaggedArray>(thread, JSTaggedValue::Exception())); in OwnPropertyKeys()
849 // 24.If uncheckedResultKeys is not empty, throw a TypeError exception. in OwnPropertyKeys()
852 JSHandle<TaggedArray>(thread, JSTaggedValue::Exception())); in OwnPropertyKeys()
863 return JSTaggedValue::Exception(); in CallInternal()
872 THROW_TYPE_ERROR_AND_RETURN(thread, "Call: handler is null", JSTaggedValue::Exception()); in CallInternal()
916 return JSTaggedValue::Exception(); in ConstructInternal()
925 … THROW_TYPE_ERROR_AND_RETURN(thread, "Constructor: handler is null", JSTaggedValue::Exception()); in ConstructInternal()
966 // 11.If Type(newObj) is not Object, throw a TypeError exception. in ConstructInternal()
968 THROW_TYPE_ERROR_AND_RETURN(thread, "new object is not object", JSTaggedValue::Exception()); in ConstructInternal()