public class BusinessException extends RuntimeException
| 构造器和说明 |
|---|
BusinessException() |
BusinessException(ExceptionCode exceptionCode) |
BusinessException(ExceptionCode code,
String message) |
BusinessException(int code,
String message) |
BusinessException(String message) |
BusinessException(String message,
Throwable cause) |
BusinessException(String message,
Throwable cause,
int code) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getCode() |
String |
getErrorMessage() |
public BusinessException()
public BusinessException(String message)
public BusinessException(int code,
String message)
public BusinessException(ExceptionCode code, String message)
public BusinessException(ExceptionCode exceptionCode)
public int getCode()
public String getErrorMessage()
Copyright © 2024 tan. All rights reserved.