Class OS3ExceptionMapper
java.lang.Object
org.apache.hadoop.ozone.s3.exception.OS3ExceptionMapper
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<OS3Exception>
@Provider
public class OS3ExceptionMapper
extends Object
implements javax.ws.rs.ext.ExceptionMapper<OS3Exception>
Class the represents various errors returned by the
Ozone S3 service.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OS3ExceptionMapper
public OS3ExceptionMapper()
-
-
Method Details
-
toResponse
- Specified by:
toResponsein interfacejavax.ws.rs.ext.ExceptionMapper<OS3Exception>
-