OSDN Git Service

Fix error logging for null-message exceptions
authorTor Norbye <tnorbye@google.com>
Tue, 18 Jan 2011 04:48:08 +0000 (20:48 -0800)
committerTor Norbye <tnorbye@google.com>
Tue, 18 Jan 2011 04:48:08 +0000 (20:48 -0800)
commite47295931d987d988ab48a47a69889308f3ae03b
tree7d43c3130b944b356932aef6f6ba48be5133fb63
parentc27fbe9c20f060ee91d82187919cfcb2e2047918
Fix error logging for null-message exceptions

Some exceptions (such as NullPointerException) can have null as their
getLocalizedMessage().  This meant that the render session could have
a result with a null message, but a non-null exception. This scenario
was not handled, for some error resulted in a failed result but no
details given.

Change-Id: I22c70cd09b3403e73e71ca971981b32026f00ad0
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/GraphicalEditorPart.java