[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/extragear/kde3/graphics/kst/src/extensions/js
From:       Andrew Walker <arwalker () sumusltd ! com>
Date:       2008-06-13 22:24:21
Message-ID: 1213395861.230395.23155.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 820341 by arwalker:

correctly report error type thrown in javaScript Legend.addCurve, removeCurve

 M  +2 -2      bind_legend.h  


--- branches/extragear/kde3/graphics/kst/src/extensions/js/bind_legend.h \
#820340:820341 @@ -60,14 +60,14 @@
     /* @method addCurve
        @description Adds the curve to the legend.
        @arg string curve The curve to be added. This can be either the name of the \
                curve or a reference to the curve.
-       @exception GeneralError Throws this exception if the curve could not be \
found. +       @exception TypeError Throws this exception if the curve could not be \
                found.
     */
     KJS::Value addCurve(KJS::ExecState *exec, const KJS::List& args);
 
     /* @method removeCurve
        @description Removes the curve from the legend.
        @arg string curve The curve to be removed. This can be either the name of the \
                curve or a reference to the curve.
-       @exception GeneralError Throws this exception if the curve could not be \
found. +       @exception TypeError Throws this exception if the curve could not be \
                found.
     */
     KJS::Value removeCurve(KJS::ExecState *exec, const KJS::List& args);
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic