Clover coverage report - Cactus 1.4b1 for J2EE API 12
Coverage timestamp: Mon Jul 29 2002 00:33:16 BST
file stats: LOC: 36   Methods: 2
NCLOC: 13   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
StringUtil.java - 0% 0% 0%
 1   
 /*   Generated by AspectJ version 1.0.5 */
 2   
 package org.apache.cactus.util;
 3   
 import java.io.StringWriter;
 4   
 import java.io.PrintWriter;
 5   
 
 6   
 /** 
 7   
  * Various utility methods for string manipulation. 
 8   
  * 
 9   
  * @author <a href="mailto:vmassol@apache.org">Vincent Massol</a> 
 10   
  * 
 11   
  * @version $Id: StringUtil.java,v 1.1 2002/07/28 13:38:41 vmassol Exp $ 
 12   
  */
 13   
 public class StringUtil {
 14   
   /** 
 15   
        * @param theThrowable the exception from which to extract the stack trace 
 16   
        *        as a String 
 17   
        * @return the exception stack trace as a String 
 18   
        */
 19  0
   public static String exceptionToString(Throwable theThrowable) {
 20  0
     StringWriter sw = new StringWriter();
 21  0
     PrintWriter pw = new PrintWriter(sw);
 22  0
     theThrowable.printStackTrace(pw);
 23  0
     return sw.toString();
 24   
   } 
 25   
 
 26   
   /** 
 27   
    * Various utility methods for string manipulation. 
 28   
    * 
 29   
    * @author <a href="mailto:vmassol@apache.org">Vincent Massol</a> 
 30   
    * 
 31   
    * @version $Id: StringUtil.java,v 1.1 2002/07/28 13:38:41 vmassol Exp $ 
 32   
    */
 33  0
   public StringUtil() {
 34  0
     super();
 35   
   } 
 36   
 }