Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 4dfd98c61c382f68a0c6570a5eb108e35a51f176..663b3edd0df860f730452a614598ed638a813a81 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -519,40 +519,38 @@ class Factory FINAL { |
// Interface for creating error objects. |
- MaybeHandle<Object> NewError(const char* maker, const char* message, |
- Handle<JSArray> args); |
+ Handle<Object> NewError(const char* maker, const char* message, |
+ Handle<JSArray> args); |
Handle<String> EmergencyNewError(const char* message, Handle<JSArray> args); |
- MaybeHandle<Object> NewError(const char* maker, const char* message, |
- Vector<Handle<Object> > args); |
- MaybeHandle<Object> NewError(const char* message, |
- Vector<Handle<Object> > args); |
- MaybeHandle<Object> NewError(Handle<String> message); |
- MaybeHandle<Object> NewError(const char* constructor, Handle<String> message); |
+ Handle<Object> NewError(const char* maker, const char* message, |
+ Vector<Handle<Object> > args); |
+ Handle<Object> NewError(const char* message, Vector<Handle<Object> > args); |
+ Handle<Object> NewError(Handle<String> message); |
+ Handle<Object> NewError(const char* constructor, Handle<String> message); |
- MaybeHandle<Object> NewTypeError(const char* message, |
- Vector<Handle<Object> > args); |
- MaybeHandle<Object> NewTypeError(Handle<String> message); |
+ Handle<Object> NewTypeError(const char* message, |
+ Vector<Handle<Object> > args); |
+ Handle<Object> NewTypeError(Handle<String> message); |
- MaybeHandle<Object> NewRangeError(const char* message, |
- Vector<Handle<Object> > args); |
- MaybeHandle<Object> NewRangeError(Handle<String> message); |
+ Handle<Object> NewRangeError(const char* message, |
+ Vector<Handle<Object> > args); |
+ Handle<Object> NewRangeError(Handle<String> message); |
- MaybeHandle<Object> NewInvalidStringLengthError() { |
+ Handle<Object> NewInvalidStringLengthError() { |
return NewRangeError("invalid_string_length", |
HandleVector<Object>(NULL, 0)); |
} |
- MaybeHandle<Object> NewSyntaxError(const char* message, Handle<JSArray> args); |
- MaybeHandle<Object> NewSyntaxError(Handle<String> message); |
- |
- MaybeHandle<Object> NewReferenceError(const char* message, |
- Vector<Handle<Object> > args); |
- MaybeHandle<Object> NewReferenceError(const char* message, |
- Handle<JSArray> args); |
- MaybeHandle<Object> NewReferenceError(Handle<String> message); |
+ Handle<Object> NewSyntaxError(const char* message, Handle<JSArray> args); |
+ Handle<Object> NewSyntaxError(Handle<String> message); |
- MaybeHandle<Object> NewEvalError(const char* message, |
+ Handle<Object> NewReferenceError(const char* message, |
Vector<Handle<Object> > args); |
+ Handle<Object> NewReferenceError(const char* message, Handle<JSArray> args); |
+ Handle<Object> NewReferenceError(Handle<String> message); |
+ |
+ Handle<Object> NewEvalError(const char* message, |
+ Vector<Handle<Object> > args); |
Handle<String> NumberToString(Handle<Object> number, |
bool check_number_string_cache = true); |