• Home
  • Raw
  • Download

Lines Matching full:exception

35     // 1.If NewTarget is undefined, throw a TypeError exception  in SetConstructor()
39 … THROW_TYPE_ERROR_AND_RETURN(thread, "new target can't be undefined", JSTaggedValue::Exception()); in SetConstructor()
66 // If IsCallable(adder) is false, throw a TypeError exception in SetConstructor()
113 // 2.If Type(S) is not Object, throw a TypeError exception. in Add()
114 // 3.If S does not have a [[SetData]] internal slot, throw a TypeError exception. in Add()
116 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSSet", JSTaggedValue::Exception()); in Add()
134 // 2.If Type(S) is not Object, throw a TypeError exception. in Clear()
135 // 3.If S does not have a [[SetData]] internal slot, throw a TypeError exception. in Clear()
137 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSSet", JSTaggedValue::Exception()); in Clear()
151 // 2.If Type(S) is not Object, throw a TypeError exception. in Delete()
152 // 3.If S does not have a [[SetData]] internal slot, throw a TypeError exception. in Delete()
154 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSSet", JSTaggedValue::Exception()); in Delete()
170 // 2.If Type(S) is not Object, throw a TypeError exception. in Has()
171 // 3.If S does not have a [[SetData]] internal slot, throw a TypeError exception. in Has()
173 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSSet", JSTaggedValue::Exception()); in Has()
187 // 2.If Type(S) is not Object, throw a TypeError exception. in ForEach()
188 // 3.If S does not have a [[SetData]] internal slot, throw a TypeError exception. in ForEach()
190 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSSet", JSTaggedValue::Exception()); in ForEach()
194 // 4.If IsCallable(callbackfn) is false, throw a TypeError exception. in ForEach()
197 … THROW_TYPE_ERROR_AND_RETURN(thread, "callbackfn is not callable", JSTaggedValue::Exception()); in ForEach()
247 // 2.If Type(S) is not Object, throw a TypeError exception. in GetSize()
248 // 3.If S does not have a [[SetData]] internal slot, throw a TypeError exception. in GetSize()
250 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSSet", JSTaggedValue::Exception()); in GetSize()