org.jboss.netty.util.internal
Class StackTraceSimplifier
java.lang.Object
org.jboss.netty.util.internal.StackTraceSimplifier
public class StackTraceSimplifier
- extends Object
Simplifies an exception stack trace by removing unnecessary
StackTraceElement
s. 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StackTraceSimplifier
public StackTraceSimplifier()
simplify
public static void simplify(Throwable e)
- Removes unnecessary
StackTraceElement
s 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.