• Home
  • Raw
  • Download

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()
65 // If IsCallable(adder) is false, throw a TypeError exception in MapConstructor()
133 // 2.If Type(S) is not Object, throw a TypeError exception. in Set()
134 // 3.If S does not have a [[MapData]] internal slot, throw a TypeError exception. in Set()
136 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSMap", JSTaggedValue::Exception()); in Set()
155 // 2.If Type(S) is not Object, throw a TypeError exception. in Clear()
156 // 3.If S does not have a [[MapData]] internal slot, throw a TypeError exception. in Clear()
158 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSMap", JSTaggedValue::Exception()); in Clear()
171 // 2.If Type(S) is not Object, throw a TypeError exception. in Delete()
172 // 3.If S does not have a [[MapData]] internal slot, throw a TypeError exception. in Delete()
174 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSMap", JSTaggedValue::Exception()); in Delete()
189 // 2.If Type(S) is not Object, throw a TypeError exception. in Has()
190 // 3.If S does not have a [[MapData]] internal slot, throw a TypeError exception. in Has()
192 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSMap", JSTaggedValue::Exception()); in Has()
206 // 2.If Type(S) is not Object, throw a TypeError exception. in Get()
207 // 3.If S does not have a [[MapData]] internal slot, throw a TypeError exception. in Get()
209 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSMap", JSTaggedValue::Exception()); in Get()
223 // 2.If Type(S) is not Object, throw a TypeError exception. in ForEach()
224 // 3.If S does not have a [[MapData]] internal slot, throw a TypeError exception. in ForEach()
226 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSMap", JSTaggedValue::Exception()); in ForEach()
230 // 4.If IsCallable(callbackfn) is false, throw a TypeError exception. in ForEach()
233 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not Callable", JSTaggedValue::Exception()); in ForEach()
271 // 2.If Type(S) is not Object, throw a TypeError exception. in GetSize()
272 // 3.If S does not have a [[MapData]] internal slot, throw a TypeError exception. in GetSize()
274 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSMap", JSTaggedValue::Exception()); in GetSize()