From e09cc8f71e80f050a5b3a41c17395024901e788c Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Wed, 30 Jan 2013 20:36:04 +0000 Subject: [PATCH] SDK: - Make log exception bubbles open exception description - Make Notify tools publically available git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10256 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- sdk/jme3-core/nbproject/project.xml | 1 + .../src/com/jme3/gde/core/scene/ApplicationLogHandler.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk/jme3-core/nbproject/project.xml b/sdk/jme3-core/nbproject/project.xml index 2abe39705..bedd804a6 100644 --- a/sdk/jme3-core/nbproject/project.xml +++ b/sdk/jme3-core/nbproject/project.xml @@ -349,6 +349,7 @@ com.jme3.gde.core.texture com.jme3.gde.core.undoredo com.jme3.gde.core.util + com.jme3.gde.core.util.notify ext/DDSUtils.jar diff --git a/sdk/jme3-core/src/com/jme3/gde/core/scene/ApplicationLogHandler.java b/sdk/jme3-core/src/com/jme3/gde/core/scene/ApplicationLogHandler.java index 77bf7e966..072e8ad9e 100644 --- a/sdk/jme3-core/src/com/jme3/gde/core/scene/ApplicationLogHandler.java +++ b/sdk/jme3-core/src/com/jme3/gde/core/scene/ApplicationLogHandler.java @@ -65,7 +65,7 @@ public class ApplicationLogHandler extends Handler { if (record.getLevel().equals(Level.SEVERE)) { Throwable thrown = record.getThrown(); if (thrown != null) { - NotifyUtil.show("Exception!", formatter.formatMessage(record), MessageType.EXCEPTION, listener, 0); + NotifyUtil.error("Exception!", formatter.formatMessage(record), thrown, false); } else { NotifyUtil.show("Error!", formatter.formatMessage(record), MessageType.ERROR, listener, 10000); }