public class

UnhandledExceptionMapper

extends Object
implements ExceptionMapper<E extends Throwable>
java.lang.Object
   ↳ com.atlassian.bitbucket.rest.exception.UnhandledExceptionMapper

Class Overview

A aggregate class which when extended provides default exception mapping for the plugin.

All bundled plugins with REST resources should extend this class.

Summary

Public Constructors
UnhandledExceptionMapper(UnhandledExceptionMapperHelper helper)
Public Methods
Response toResponse(Exception exception)
[Expand]
Inherited Methods
From class java.lang.Object
From interface javax.ws.rs.ext.ExceptionMapper

Public Constructors

public UnhandledExceptionMapper (UnhandledExceptionMapperHelper helper)

Public Methods

public Response toResponse (Exception exception)