@Provider
public class S3RestExceptionMapper
extends java.lang.Object
implements javax.ws.rs.ext.ExceptionMapper<java.lang.Throwable>
| Constructor and Description |
|---|
S3RestExceptionMapper() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
toResponse(java.lang.Throwable e)
convert the Exception to the HTTP Response for jersey.
|
public javax.ws.rs.core.Response toResponse(java.lang.Throwable e)
toResponse in interface javax.ws.rs.ext.ExceptionMapper<java.lang.Throwable>e - the exception to map to a responseCopyright © 2024. All Rights Reserved.