public class BaseException extends Exception implements Serializable
| Constructor and Description |
|---|
BaseException(Integer code) |
BaseException(Integer code,
String message) |
BaseException(Integer code,
String message,
Class clazz) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends BaseException> |
call(Integer code) |
static <T extends BaseException> |
call(Integer code,
String message) |
Integer |
getCode() |
void |
setCode(Integer code) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic BaseException(Integer code)
public static <T extends BaseException> T call(Integer code)
public static <T extends BaseException> T call(Integer code, String message)
public Integer getCode()
public void setCode(Integer code)
Copyright © 2021 Clouds Studio. All rights reserved.