Class ExcUtil

java.lang.Object
  |
  +--ExcUtil

public class ExcUtil
extends java.lang.Object

This class contains utility routines for manipulating Java Exceptions, Errors and Throwables.

Usage:
   - The typical scenario for using this class is:
       String str = ExcUtil.getStackTrace(throwable);
Assumptions:
Effects:
       - None.
Anticipated Changes:
Notes:
Implementation Notes:
Portability Issues:

Since:
1.0.0
Version:
$Revision: 4 $
Author:
$Author: FStluka $

Inner Class Summary
static class ExcUtil.Tester
          Each class contains a Tester inner class with a main() for easier unit testing.
 
Constructor Summary
ExcUtil()
          Constructor.
 
Method Summary
static java.lang.String getStackTrace(java.lang.Throwable e)
          Return the stack trace of the specified Throwable as a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExcUtil

public ExcUtil()
Constructor.
Parameters:
None. -  
Throws:
Exceptions - None.
Method Detail

getStackTrace

public static java.lang.String getStackTrace(java.lang.Throwable e)
Return the stack trace of the specified Throwable as a String.
Parameters:
e - Throwable to get the stack trace from.
Returns:
Stack trace as a string.
Throws:
Exceptions - None.