net.rim.pushsdk.commons
Class StackTraceUtil

java.lang.Object
  extended by net.rim.pushsdk.commons.StackTraceUtil

public class StackTraceUtil
extends Object

Utility to print the contents of a stack trace to a string.

Author:
mdicesare

Constructor Summary
StackTraceUtil()
           
 
Method Summary
static String getStackTrace(Throwable aThrowable)
          Gets the stack trace associated with a throwable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackTraceUtil

public StackTraceUtil()
Method Detail

getStackTrace

public static String getStackTrace(Throwable aThrowable)
Gets the stack trace associated with a throwable.

Parameters:
aThrowable - the throwable to get the stack trace for
Returns:
the contents of a stack trace


Copyright © 2011 Research In Motion. All Rights Reserved.