merge with master
[framework/web/wrt-plugins-common.git] / src / CommonsJavaScript / JSDOMExceptionFactory.h
index 84f79ba..2bf8329 100644 (file)
@@ -22,7 +22,6 @@
 
 namespace WrtDeviceApis {
 namespace CommonsJavaScript {
-
 #define DECLARE_JS_EXCEPTION_FACTORY(Class) static JSDOMExceptionFactory Class
 
 class JSDOMExceptionFactory : public DPL::Noncopyable
@@ -69,30 +68,31 @@ class JSDOMExceptionFactory : public DPL::Noncopyable
      *                                 JSValueRef* exception)
      * {
      * ...
-     *   return JSExceptionFactory::InvalidArgumentException.make(context, exception);
+     *   return JSExceptionFactory::InvalidArgumentException.make(context,
+     * exception);
      * ...
      * }
      * @endcode
      */
     JSValueRef make(JSContextRef context,
-            JSValueRef* exception,
-            const std::string& message = std::string());
+                    JSValueRef* exception,
+                    const std::string& message = std::string());
 
     /**
      * Creates exception object.
      * @param context JS context of the exception.
      * @return JS exception object.
      * @code
-     * JSObjectRef jsError = JSExceptionFactory::InvalidArgumentException.make(context);
+     * JSObjectRef jsError =
+     * JSExceptionFactory::InvalidArgumentException.make(context);
      * @endcode
      */
     JSObjectRef make(JSContextRef context,
-            const std::string& message = std::string());
+                     const std::string& message = std::string());
 
   private:
     int m_code;
 };
-
 } // CommonsJavaScript
 } // WrtDeviceApis