org.jboss.netty.util.internal
Class StackTraceSimplifier

java.lang.Object
  extended by org.jboss.netty.util.internal.StackTraceSimplifier

public class StackTraceSimplifier
extends Object

Simplifies an exception stack trace by removing unnecessary StackTraceElements. Please note that the stack trace simplification is disabled if debug mode is turned on.

Version:
$Rev: 2080 $, $Date: 2010-01-26 18:04:19 +0900 (Tue, 26 Jan 2010) $
Author:
The Netty Project, Trustin Lee

Constructor Summary
StackTraceSimplifier()
           
 
Method Summary
static void simplify(Throwable e)
          Removes unnecessary StackTraceElements from the specified exception.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackTraceSimplifier

public StackTraceSimplifier()
Method Detail

simplify

public static void simplify(Throwable e)
Removes unnecessary StackTraceElements from the specified exception. ThreadRenamingRunnable, SimpleChannelHandler, DefaultChannelPipeline, and StaticChannelPipeline will be dropped from the trace.



Copyright © 2008-2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.