- 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
3.0
nor..67 12 years ago
parent db490dc1c1
commit e09cc8f71e
  1. 1
      sdk/jme3-core/nbproject/project.xml
  2. 2
      sdk/jme3-core/src/com/jme3/gde/core/scene/ApplicationLogHandler.java

@ -349,6 +349,7 @@
<package>com.jme3.gde.core.texture</package> <package>com.jme3.gde.core.texture</package>
<package>com.jme3.gde.core.undoredo</package> <package>com.jme3.gde.core.undoredo</package>
<package>com.jme3.gde.core.util</package> <package>com.jme3.gde.core.util</package>
<package>com.jme3.gde.core.util.notify</package>
</public-packages> </public-packages>
<class-path-extension> <class-path-extension>
<runtime-relative-path>ext/DDSUtils.jar</runtime-relative-path> <runtime-relative-path>ext/DDSUtils.jar</runtime-relative-path>

@ -65,7 +65,7 @@ public class ApplicationLogHandler extends Handler {
if (record.getLevel().equals(Level.SEVERE)) { if (record.getLevel().equals(Level.SEVERE)) {
Throwable thrown = record.getThrown(); Throwable thrown = record.getThrown();
if (thrown != null) { if (thrown != null) {
NotifyUtil.show("Exception!", formatter.formatMessage(record), MessageType.EXCEPTION, listener, 0); NotifyUtil.error("Exception!", formatter.formatMessage(record), thrown, false);
} else { } else {
NotifyUtil.show("Error!", formatter.formatMessage(record), MessageType.ERROR, listener, 10000); NotifyUtil.show("Error!", formatter.formatMessage(record), MessageType.ERROR, listener, 10000);
} }

Loading…
Cancel
Save