Lines Matching full:exception
33 // 1.If NewTarget is undefined, throw a TypeError exception in MapConstructor()
37 … THROW_TYPE_ERROR_AND_RETURN(thread, "new target can't be undefined", JSTaggedValue::Exception()); in MapConstructor()
58 THROW_TYPE_ERROR_AND_RETURN(thread, "iterable is not object", JSTaggedValue::Exception()); in MapConstructor()
75 // 2.If Type(S) is not Object, throw a TypeError exception. in Set()
76 // 3.If S does not have a [[MapData]] internal slot, throw a TypeError exception. in Set()
78 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSMap", JSTaggedValue::Exception()); in Set()
97 // 2.If Type(S) is not Object, throw a TypeError exception. in Clear()
98 // 3.If S does not have a [[MapData]] internal slot, throw a TypeError exception. in Clear()
100 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSMap", JSTaggedValue::Exception()); in Clear()
113 // 2.If Type(S) is not Object, throw a TypeError exception. in Delete()
114 // 3.If S does not have a [[MapData]] internal slot, throw a TypeError exception. in Delete()
116 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSMap", JSTaggedValue::Exception()); in Delete()
131 // 2.If Type(S) is not Object, throw a TypeError exception. in Has()
132 // 3.If S does not have a [[MapData]] internal slot, throw a TypeError exception. in Has()
134 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSMap", JSTaggedValue::Exception()); in Has()
148 // 2.If Type(S) is not Object, throw a TypeError exception. in Get()
149 // 3.If S does not have a [[MapData]] internal slot, throw a TypeError exception. in Get()
151 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSMap", JSTaggedValue::Exception()); in Get()
165 // 2.If Type(S) is not Object, throw a TypeError exception. in ForEach()
166 // 3.If S does not have a [[MapData]] internal slot, throw a TypeError exception. in ForEach()
168 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSMap", JSTaggedValue::Exception()); in ForEach()
172 // 4.If IsCallable(callbackfn) is false, throw a TypeError exception. in ForEach()
175 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not Callable", JSTaggedValue::Exception()); in ForEach()
224 // 2.If Type(S) is not Object, throw a TypeError exception. in GetSize()
225 // 3.If S does not have a [[MapData]] internal slot, throw a TypeError exception. in GetSize()
227 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSMap", JSTaggedValue::Exception()); in GetSize()
268 // If IsCallable(adder) is false, throw a TypeError exception in AddEntriesFromIterable()