Class ODataExceptionMapperImpl
java.lang.Object
org.apache.olingo.odata2.core.rest.ODataExceptionMapperImpl
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<Exception>
@Provider
public class ODataExceptionMapperImpl
extends Object
implements javax.ws.rs.ext.ExceptionMapper<Exception>
Creates an error response according to the format defined by the OData standard
if an exception occurs that is not handled elsewhere.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ODataExceptionMapperImpl
public ODataExceptionMapperImpl()
-
-
Method Details
-
toResponse
- Specified by:
toResponsein interfacejavax.ws.rs.ext.ExceptionMapper<Exception>
-