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

List:       kfm-devel
Subject:    Re: CSSMediaRule::insertRule
From:       David Faure <david () mandrakesoft ! com>
Date:       2001-09-25 11:53:57
[Download RAW message or body]

On Mardi 25 Septembre 2001 13:47, Martijn Klingens wrote:
> On Tuesday 25 September 2001 12:28, Lars Knoll wrote:
> > Hope that helps you further,
> 
> Yup... I wouldn't probably have found that out myself... Thanks!
> 
> But... If you specify an invalid insertion index I am supposed to throw an 
> exception. See the last part of my mail:
> 
> > > Also, how can I emit DOMexceptions in KHTML ? Grepping gave me three
> > > throw statements that were commented out and nothing else. Sounds a bit
> > > harsh to me...
> > > I know that Qt/KDE don't use C++ exceptions, but I somehow expected the
> > > DOM exception mechanism to be emulated some way. Seems to me like they
> > > aren't, which I fail to believe. What am i missing?
> 
> Any ideas here?

./dom/html_table.cpp:    throw DOMException(DOMException::NO_MODIFICATION_ALLOWED_ERR);
./dom/html_table.cpp:    throw DOMException(DOMException::NO_MODIFICATION_ALLOWED_ERR);
./dom/html_table.cpp:    throw DOMException(DOMException::NO_MODIFICATION_ALLOWED_ERR);
./dom/html_table.cpp:    throw DOMException(DOMException::NO_MODIFICATION_ALLOWED_ERR);.
/dom/dom_doc.cpp:      throw DOMException(DOMException::INVALID_STATE_ERR);
./dom/dom_doc.cpp:      throw DOMException(exceptioncode);
./dom/dom_doc.cpp:      throw DOMException(DOMException::INVALID_STATE_ERR);
./dom/dom_doc.cpp:      throw DOMException(exceptioncode);
./dom/dom_doc.cpp:      throw DOMException(DOMException::INVALID_STATE_ERR);
./dom/dom_doc.cpp:      throw DOMException(DOMException::INVALID_STATE_ERR);
./dom/dom_doc.cpp:      throw DOMException(DOMException::INVALID_STATE_ERR);
./dom/dom_doc.cpp:      throw DOMException(exceptioncode);
./dom/dom2_views.cpp:   throw DOMException(DOMException::INVALID_STATE_ERR);
./dom/dom2_views.cpp:   throw DOMException(DOMException::INVALID_STATE_ERR);
./dom/dom2_range.cpp:        throw DOMException(DOMException::NOT_FOUND_ERR);
./dom/dom2_range.cpp:        throw DOMException(DOMException::WRONG_DOCUMENT_ERR);
 
-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://perso.mandrakesoft.com/~david/ , http://www.konqueror.org/
KDE, Making The Future of Computing Available Today

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

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