aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/utils/DebugLogUtils.java
diff options
context:
space:
mode:
authorSatoshi Kataoka <satok@google.com>2013-09-05 06:33:47 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-09-05 06:33:47 -0700
commitb7a8c1c33dcdff54445264c1d9c832f1b12b6ebe (patch)
tree5716db2939d83aa7bdbd34e8a5c49717e3cc81a6 /java/src/com/android/inputmethod/latin/utils/DebugLogUtils.java
parenta5d78ae4ea545d1d768164fd485ca80ce9b954f4 (diff)
parentb690c039271ad5ec5551cec4b73e796e9522ee45 (diff)
downloadlatinime-b7a8c1c33dcdff54445264c1d9c832f1b12b6ebe.tar.gz
latinime-b7a8c1c33dcdff54445264c1d9c832f1b12b6ebe.tar.xz
latinime-b7a8c1c33dcdff54445264c1d9c832f1b12b6ebe.zip
am b690c039: Merge "Optimize layout"
* commit 'b690c039271ad5ec5551cec4b73e796e9522ee45': Optimize layout
Diffstat (limited to 'java/src/com/android/inputmethod/latin/utils/DebugLogUtils.java')
-rw-r--r--java/src/com/android/inputmethod/latin/utils/DebugLogUtils.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/utils/DebugLogUtils.java b/java/src/com/android/inputmethod/latin/utils/DebugLogUtils.java
index c4ead0ad1..ac654fa65 100644
--- a/java/src/com/android/inputmethod/latin/utils/DebugLogUtils.java
+++ b/java/src/com/android/inputmethod/latin/utils/DebugLogUtils.java
@@ -65,12 +65,12 @@ public final class DebugLogUtils {
/**
* Get the stack trace contained in an exception as a human-readable string.
- * @param e the exception
+ * @param t the throwable
* @return the human-readable stack trace
*/
- public static String getStackTrace(final Exception e) {
+ public static String getStackTrace(final Throwable t) {
final StringBuilder sb = new StringBuilder();
- final StackTraceElement[] frames = e.getStackTrace();
+ final StackTraceElement[] frames = t.getStackTrace();
for (int j = 0; j < frames.length; ++j) {
sb.append(frames[j].toString() + "\n");
}