| 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 Methods |
|
Response
|
toResponse(Exception exception)
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
final
void
|
wait()
|
|
From interface
javax.ws.rs.ext.ExceptionMapper
|
Response
|
toResponse(E arg0)
|
|
Public Constructors
Public Methods
public
Response
toResponse
(Exception exception)