public class NetException extends BaseException
| Constructor and Description |
|---|
NetException(int code,
String message) |
| Modifier and Type | Method and Description |
|---|---|
static NetException |
connectionRefused(String url) |
static NetException |
httpStatusError(int statusCode) |
static NetException |
illegalInvokeError(String msg) |
static NetException |
timeout(int timeout) |
static NetException |
unKnowError() |
static NetException |
unknownHost() |
getCode, setCodeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NetException(int code,
String message)
public static NetException unknownHost()
public static NetException httpStatusError(int statusCode)
public static NetException timeout(int timeout)
public static NetException unKnowError()
public static NetException illegalInvokeError(String msg)
public static NetException connectionRefused(String url)
Copyright © 2021. All rights reserved.