Package com.helger.photon.api
Class AbstractAPIExceptionMapper
- java.lang.Object
-
- com.helger.photon.api.AbstractAPIExceptionMapper
-
- All Implemented Interfaces:
IAPIExceptionMapper,Serializable
public abstract class AbstractAPIExceptionMapper extends Object implements IAPIExceptionMapper
Abstract implementation ofIAPIExceptionMapperwith some helper methods.- Since:
- 8.1.3
- Author:
- Philip Helger
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractAPIExceptionMapper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetResponseEntityWithoutStackTrace(Throwable ex)static StringgetResponseEntityWithStackTrace(Throwable ex)protected static voidsetSimpleTextResponse(com.helger.servlet.response.UnifiedResponse aUnifiedResponse, int nStatusCode, String sContent)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.helger.photon.api.IAPIExceptionMapper
applyExceptionOnResponse
-
-