Lines Matching refs:exceptionState

40     ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInterfaceConstructor", info.Holder(), info.GetIsolate());
43 RefPtr<TestInterfaceConstructor> impl = TestInterfaceConstructor::create(executionContext, document, exceptionState);
44 if (exceptionState.hadException()) {
45 exceptionState.throwIfNeeded();
55 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInterfaceConstructor", info.Holder(), info.GetIsolate());
65 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(doubleArg, toDouble(info[0], exceptionState), exceptionState);
69 exceptionState.throwTypeError("parameter 4 ('dictionaryArg') is not an object.");
70 exceptionState.throwIfNeeded();
74 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(sequenceStringArg, toImplArray<String>(info[4], 5, info.GetIsolate(), exceptionState), exceptionState);
75 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(sequenceDictionaryArg, toImplArray<Dictionary>(info[5], 6, info.GetIsolate(), exceptionState), exceptionState);
77 exceptionState.throwTypeError("parameter 7 ('optionalDictionaryArg') is not an object.");
78 exceptionState.throwIfNeeded();
86 RefPtr<TestInterfaceConstructor> impl = TestInterfaceConstructor::create(executionContext, document, doubleArg, stringArg, testInterfaceEmptyArg, dictionaryArg, sequenceStringArg, sequenceDictionaryArg, optionalDictionaryArg, optionalTestInterfaceEmptyArg, exceptionState);
87 if (exceptionState.hadException()) {
88 exceptionState.throwIfNeeded();
98 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInterfaceConstructor", info.Holder(), info.GetIsolate());
106 RefPtr<TestInterfaceConstructor> impl = TestInterfaceConstructor::create(executionContext, document, arg, exceptionState);
107 if (exceptionState.hadException()) {
108 exceptionState.throwIfNeeded();
120 RefPtr<TestInterfaceConstructor> impl = TestInterfaceConstructor::create(executionContext, document, arg, optArg, exceptionState);
121 if (exceptionState.hadException()) {
122 exceptionState.throwIfNeeded();
132 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInterfaceConstructor", info.Holder(), info.GetIsolate());
143 RefPtr<TestInterfaceConstructor> impl = TestInterfaceConstructor::create(executionContext, document, arg, arg2, arg3, exceptionState);
144 if (exceptionState.hadException()) {
145 exceptionState.throwIfNeeded();
155 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInterfaceConstructor", info.Holder(), info.GetIsolate());
201 throwArityTypeError(exceptionState, "[0, 1, 2, 3, 6, 7, 8]", info.Length());
204 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, info.Length()));
205 exceptionState.throwIfNeeded();
208 exceptionState.throwTypeError("No matching constructor signature.");
209 exceptionState.throwIfNeeded();
227 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInterfaceConstructor", info.Holder(), info.GetIsolate());
229 setMinimumArityTypeError(exceptionState, 1, info.Length());
230 exceptionState.throwIfNeeded();
240 RefPtr<TestInterfaceConstructor> impl = TestInterfaceConstructor::createForJSConstructor(executionContext, document, arg, exceptionState);
241 if (exceptionState.hadException()) {
242 exceptionState.throwIfNeeded();
254 RefPtr<TestInterfaceConstructor> impl = TestInterfaceConstructor::createForJSConstructor(executionContext, document, arg, optArg, exceptionState);
255 if (exceptionState.hadException()) {
256 exceptionState.throwIfNeeded();