Index: Source/bindings/tests/results/V8TestTypedefs.cpp |
diff --git a/Source/bindings/tests/results/V8TestTypedefs.cpp b/Source/bindings/tests/results/V8TestTypedefs.cpp |
index 8d6101b16efe2df6e6429e40047c9cce33b7b7f6..95c8e9bc945c5368823563d7d1c4b1b978840ce1 100644 |
--- a/Source/bindings/tests/results/V8TestTypedefs.cpp |
+++ b/Source/bindings/tests/results/V8TestTypedefs.cpp |
@@ -119,7 +119,7 @@ static void voidMethodArrayOfLongsArgMethodCallback(const v8::FunctionCallbackIn |
static void voidMethodFloatArgStringArgMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
if (UNLIKELY(info.Length() < 2)) { |
- throwTypeError(ExceptionMessages::failedToExecute("voidMethodFloatArgStringArg", "TestTypedefs", ExceptionMessages::notEnoughArguments(2, info.Length())), info.GetIsolate()); |
+ throwArityTypeErrorForMethod("voidMethodFloatArgStringArg", "TestTypedefs", 2, info.Length(), info.GetIsolate()); |
return; |
} |
TestTypedefs* impl = V8TestTypedefs::toNative(info.Holder()); |
@@ -138,7 +138,7 @@ static void voidMethodFloatArgStringArgMethodCallback(const v8::FunctionCallback |
static void voidMethodTestCallbackInterfaceTypeArgMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
if (UNLIKELY(info.Length() < 1)) { |
- throwTypeError(ExceptionMessages::failedToExecute("voidMethodTestCallbackInterfaceTypeArg", "TestTypedefs", ExceptionMessages::notEnoughArguments(1, info.Length())), info.GetIsolate()); |
+ throwArityTypeErrorForMethod("voidMethodTestCallbackInterfaceTypeArg", "TestTypedefs", 1, info.Length(), info.GetIsolate()); |
return; |
} |
TestTypedefs* impl = V8TestTypedefs::toNative(info.Holder()); |
@@ -160,7 +160,7 @@ static void voidMethodTestCallbackInterfaceTypeArgMethodCallback(const v8::Funct |
static void uLongLongMethodTestInterfaceEmptyTypeSequenceArgMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
if (UNLIKELY(info.Length() < 1)) { |
- throwTypeError(ExceptionMessages::failedToExecute("uLongLongMethodTestInterfaceEmptyTypeSequenceArg", "TestTypedefs", ExceptionMessages::notEnoughArguments(1, info.Length())), info.GetIsolate()); |
+ throwArityTypeErrorForMethod("uLongLongMethodTestInterfaceEmptyTypeSequenceArg", "TestTypedefs", 1, info.Length(), info.GetIsolate()); |
return; |
} |
TestTypedefs* impl = V8TestTypedefs::toNative(info.Holder()); |
@@ -204,7 +204,7 @@ static void fooOrBarMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Valu |
static void arrayOfStringsMethodArrayOfStringsArgMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
if (UNLIKELY(info.Length() < 1)) { |
- throwTypeError(ExceptionMessages::failedToExecute("arrayOfStringsMethodArrayOfStringsArg", "TestTypedefs", ExceptionMessages::notEnoughArguments(1, info.Length())), info.GetIsolate()); |
+ throwArityTypeErrorForMethod("arrayOfStringsMethodArrayOfStringsArg", "TestTypedefs", 1, info.Length(), info.GetIsolate()); |
return; |
} |
TestTypedefs* impl = V8TestTypedefs::toNative(info.Holder()); |
@@ -222,7 +222,7 @@ static void arrayOfStringsMethodArrayOfStringsArgMethodCallback(const v8::Functi |
static void stringArrayMethodStringArrayArgMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
if (UNLIKELY(info.Length() < 1)) { |
- throwTypeError(ExceptionMessages::failedToExecute("stringArrayMethodStringArrayArg", "TestTypedefs", ExceptionMessages::notEnoughArguments(1, info.Length())), info.GetIsolate()); |
+ throwArityTypeErrorForMethod("stringArrayMethodStringArrayArg", "TestTypedefs", 1, info.Length(), info.GetIsolate()); |
return; |
} |
TestTypedefs* impl = V8TestTypedefs::toNative(info.Holder()); |
@@ -241,7 +241,7 @@ static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
v8::Isolate* isolate = info.GetIsolate(); |
if (UNLIKELY(info.Length() < 1)) { |
- throwTypeError(ExceptionMessages::failedToConstruct("TestTypedefs", ExceptionMessages::notEnoughArguments(1, info.Length())), info.GetIsolate()); |
+ throwArityTypeErrorForConstructor("TestTypedefs", 1, info.Length(), info.GetIsolate()); |
return; |
} |
V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, stringArg, info[0]); |