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-16 15:46:07
|
--- Em seg, 16/6/08, Andrew Cowie <an...@op...> escreveu: > [Also, keep in mind that the Constants need to be > registered, but there > is nothing that says they need to be public. The typed > Exception being > thrown takes care of that] 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. As long as GError codes are unique along all functions -Am I right?-, this simplifies the implementation of new coverage. Cheers Vreixo Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! http://br.mail.yahoo.com/ |