@Provider public class TikaServerParseExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<TikaServerParseException>
Constructor and Description |
---|
TikaServerParseExceptionMapper(boolean returnStack) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
toResponse(TikaServerParseException e) |
public TikaServerParseExceptionMapper(boolean returnStack)
public javax.ws.rs.core.Response toResponse(TikaServerParseException e)
toResponse
in interface javax.ws.rs.ext.ExceptionMapper<TikaServerParseException>
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.