Package org.apache.tika.server.core
Class TikaServerParseExceptionMapper
- java.lang.Object
-
- org.apache.tika.server.core.TikaServerParseExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<TikaServerParseException>
@Provider public class TikaServerParseExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<TikaServerParseException>
-
-
Constructor Summary
Constructors Constructor Description TikaServerParseExceptionMapper(boolean returnStack)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
toResponse(TikaServerParseException e)
-
-
-
Method Detail
-
toResponse
public javax.ws.rs.core.Response toResponse(TikaServerParseException e)
- Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<TikaServerParseException>
-
-