javax.ws.rs.ext.ExceptionMapper<java.lang.Throwable>@Provider @Private public class HttpFSExceptionProvider extends ExceptionProvider
ExceptionMapper implementation that maps HttpFSServer's
exceptions to HTTP status codes.| Constructor | Description |
|---|---|
HttpFSExceptionProvider() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
log(javax.ws.rs.core.Response.Status status,
java.lang.Throwable throwable) |
Logs the HTTP status code and exception in HttpFSServer's log.
|
javax.ws.rs.core.Response |
toResponse(java.lang.Throwable throwable) |
Maps different exceptions thrown by HttpFSServer to HTTP status codes.
|
createResponse, getOneLineMessagepublic javax.ws.rs.core.Response toResponse(java.lang.Throwable throwable)
toResponse in interface javax.ws.rs.ext.ExceptionMapper<java.lang.Throwable>toResponse in class ExceptionProviderthrowable - exception thrown.protected void log(javax.ws.rs.core.Response.Status status,
java.lang.Throwable throwable)
log in class ExceptionProviderstatus - HTTP status code.throwable - exception thrown.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.