Index: Source/bindings/v8/ExceptionState.h |
diff --git a/Source/bindings/v8/ExceptionState.h b/Source/bindings/v8/ExceptionState.h |
index a58784fdfc13aa864f1fd9bc26e503f7eb3e2fce..bfe2790e16a84ac1aa19d47d039b94074bdf9fe8 100644 |
--- a/Source/bindings/v8/ExceptionState.h |
+++ b/Source/bindings/v8/ExceptionState.h |
@@ -88,7 +88,7 @@ public: |
bool hadException() const { return !m_exception.isEmpty() || m_code; } |
void clearException(); |
- ExceptionCode code() { return m_code; } |
+ ExceptionCode code() const { return m_code; } |
bool throwIfNeeded() |
{ |
@@ -102,9 +102,9 @@ public: |
return true; |
} |
- Context context() { return m_context; } |
- const char* propertyName() { return m_propertyName; } |
- const char* interfaceName() { return m_interfaceName; } |
+ Context context() const { return m_context; } |
+ const char* propertyName() const { return m_propertyName; } |
+ const char* interfaceName() const { return m_interfaceName; } |
protected: |
ExceptionCode m_code; |
@@ -115,6 +115,8 @@ protected: |
private: |
void setException(v8::Handle<v8::Value>); |
+ String addExceptionContext(const String&) const; |
+ |
ScopedPersistent<v8::Value> m_exception; |
v8::Handle<v8::Object> m_creationContext; |
v8::Isolate* m_isolate; |