Re: [java-gnome-hackers] Should Pixbuf constructor propegate unchecked excpetion for unknown format
Brought to you by:
afcowie
From: Vreixo F. L. <met...@ya...> - 2008-06-17 13:40:41
|
--- Em ter, 17/6/08, Andrew Cowie <an...@op...> escreveu: > On Mon, 2008-06-16 at 15:45 +0000, Vreixo Formoso Lopes > wrote: > > mmm, I thinking about a [maybe better] alternative. > Currently for > > functions that take a GError* we throw a GlibException > from JNI side > > when needed. Maybe we can create our own hierarchy > based on > > GlibException, and modify the JNI code to throw the > speficic exception > > based on the GError code. > > That would be overkill. No really... we only need to expose exceptions we really need. As a future task, we can even modify the codegen and .defs data to report (as a throws WhateverException) the exceptions a concrete method can throw... Cheers Vreixo Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! http://br.mail.yahoo.com/ |