* @throws AuthFatalFailureException
* exception indicating authenticating totally failed
*/
public BoxPreview getPreview(final String fileId, final String extension, final BoxImageRequestObject requestObject) throws BoxRestException,
BoxServerException, AuthFatalFailureException {
PreviewRequest request = new PreviewRequest(getConfig(), getObjectMapper(), fileId, extension, requestObject);
request.setAuth(getAuth());
DefaultBoxResponse response = (DefaultBoxResponse) getRestClient().execute(request);
PreviewResponseParser parser = new PreviewResponseParser();
ErrorResponseParser errorParser = new ErrorResponseParser(getObjectMapper());
Object result = response.parseResponse(parser, errorParser);