Sebastian Werner schrieb:
> You should definitly fix your application. You can do this by executing
> qx.core.Object.dispose() in Firebug. Then the 'console' continues to work.
>
You misunderstood my intention.
I wanted to re-throw the original exception whith a new throw message. I
don't want to hide the exception.
Here is the code:
Index: X:/www/qooxdoo/frontend/framework/source/class/qx/core/Object.js
===================================================================
--- X:/www/qooxdoo/frontend/framework/source/class/qx/core/Object.js
(revision 8736)
+++ X:/www/qooxdoo/frontend/framework/source/class/qx/core/Object.js
(working copy)
@@ -167,7 +167,13 @@
}
catch(ex)
{
- console.warn("Could not dispose: " + vObject + ": " + ex);
+ try
+ {
+ console.warn("Could not dispose: " + vObject + ": " + ex);
+ }
+ catch(exc) {
+ throw new Error("Could not dispose: " + vObject + ": " + ex);
+ }
}
}
}
> Sebastian
>
>
--
Mit freundlichen Grüßen
Dietrich Streifert
--
Visionet GmbH
Firmensitz: Am Weichselgarten 7, 91058 Erlangen
Registergericht: Handelsregister Fürth, HRB 6573
Geschäftsführer: Stefan Lindner
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel