| Constructor and Description |
|---|
ConcreteExceptionMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.ws.rs.core.Response.Status |
getStatus(int errorCode)
根据错误号返回响应的响应状态,4xx为客户端问题,5xx为服务端问题,也可由项目自行重载
|
javax.ws.rs.core.Response |
toResponse(Throwable exception) |
Copyright © 2020. All rights reserved.