public class WebbitException extends RuntimeException
Thread.UncaughtExceptionHandlers are well
documented and make it obvious that an error occurred in Webbit. This is particularly useful for projects
that make heavy use of Netty in other libraries, since most of our exceptions come out of the Netty stack,
and don't include Webbit code in their stack traces.| 限定符和类型 | 字段和说明 |
|---|---|
private static long |
serialVersionUID |
| 构造器和说明 |
|---|
WebbitException(String message) |
WebbitException(String message,
Throwable cause) |
WebbitException(Throwable cause) |
| 限定符和类型 | 方法和说明 |
|---|---|
static WebbitException |
fromException(Throwable t,
org.jboss.netty.channel.Channel channel) |
static WebbitException |
fromExceptionEvent(org.jboss.netty.channel.ExceptionEvent e) |
private static final long serialVersionUID
public WebbitException(String message)
public WebbitException(Throwable cause)
public static WebbitException fromExceptionEvent(org.jboss.netty.channel.ExceptionEvent e)
public static WebbitException fromException(Throwable t, org.jboss.netty.channel.Channel channel)
Copyright © 2014. All rights reserved.