diff options
author | 2013-03-04 03:56:05 +0000 | |
---|---|---|
committer | 2013-03-04 03:56:05 +0000 | |
commit | 31a5386794a9d1a13c6390501e8713552f53fe79 (patch) | |
tree | 0ce37cd4f959ecd008b7b2b331984d57416aa49c /java/src | |
parent | a8e668c81e1302c726624effd303afbed7f74002 (diff) | |
parent | a8d3d50970cecf961940efc0e908fbb2f9b35472 (diff) | |
download | latinime-31a5386794a9d1a13c6390501e8713552f53fe79.tar.gz latinime-31a5386794a9d1a13c6390501e8713552f53fe79.tar.xz latinime-31a5386794a9d1a13c6390501e8713552f53fe79.zip |
am a8d3d509: Small cleanup in CompatUtils
* commit 'a8d3d50970cecf961940efc0e908fbb2f9b35472':
Small cleanup in CompatUtils
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/compat/CompatUtils.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/java/src/com/android/inputmethod/compat/CompatUtils.java b/java/src/com/android/inputmethod/compat/CompatUtils.java index 5a2b6bd2b..660029baf 100644 --- a/java/src/com/android/inputmethod/compat/CompatUtils.java +++ b/java/src/com/android/inputmethod/compat/CompatUtils.java @@ -81,7 +81,7 @@ public final class CompatUtils { try { return constructor.newInstance(args); } catch (Exception e) { - Log.e(TAG, "Exception in newInstance: " + e.getClass().getSimpleName()); + Log.e(TAG, "Exception in newInstance", e); } return null; } @@ -92,7 +92,7 @@ public final class CompatUtils { try { return method.invoke(receiver, args); } catch (Exception e) { - Log.e(TAG, "Exception in invoke: " + e.getClass().getSimpleName()); + Log.e(TAG, "Exception in invoke", e); } return defaultValue; } @@ -103,7 +103,7 @@ public final class CompatUtils { try { return field.get(receiver); } catch (Exception e) { - Log.e(TAG, "Exception in getFieldValue: " + e.getClass().getSimpleName()); + Log.e(TAG, "Exception in getFieldValue", e); } return defaultValue; } @@ -113,7 +113,7 @@ public final class CompatUtils { try { field.set(receiver, value); } catch (Exception e) { - Log.e(TAG, "Exception in setFieldValue: " + e.getClass().getSimpleName()); + Log.e(TAG, "Exception in setFieldValue", e); } } } |