public class HttpParserException extends EmptyStackRuntimeException
Modifier and Type | Field and Description |
---|---|
static int |
BUFFER_RELEASED |
static int |
NORMAL |
static int |
SOCKET_DISCONNECT |
Constructor and Description |
---|
HttpParserException(String msg) |
HttpParserException(String msg,
Exception e) |
HttpParserException(String msg,
int type) |
HttpParserException(String msg,
int type,
Exception e) |
Modifier and Type | Method and Description |
---|---|
Throwable |
fillInStackTrace() |
int |
getType() |
boolean |
isBufferReleased() |
boolean |
isNormal() |
boolean |
isSocketDisconnect() |
void |
setType(int type) |
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final int NORMAL
public static final int SOCKET_DISCONNECT
public static final int BUFFER_RELEASED
public HttpParserException(String msg)
public HttpParserException(String msg, int type)
public int getType()
public void setType(int type)
public boolean isNormal()
public boolean isSocketDisconnect()
public boolean isBufferReleased()
public Throwable fillInStackTrace()
fillInStackTrace
in class EmptyStackRuntimeException
Copyright © 2020 Voovan. All rights reserved.