public class ServiceException extends RuntimeException
| 构造器和说明 |
|---|
ServiceException() |
ServiceException(String message,
String requestId) |
ServiceException(String message,
String requestId,
Throwable cause) |
ServiceException(String message,
Throwable cause,
String errorCode,
String requestId,
String hostId)
用异常消息和表示异常原因及其他信息的对象构造新实例。
|
ServiceException(Throwable cause) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getErrorCode()
返回错误代码的字符串表示。
|
String |
getHostId()
返回Host标识。
|
String |
getRequestId()
返回Request标识。
|
void |
setRequestId(String requestId) |
String |
toString() |
public ServiceException()
public ServiceException(Throwable cause)
Copyright © 2021. All Rights Reserved.