T - the generic typepublic abstract class AbstractExceptionHandler<T extends Throwable> extends Object implements javax.ws.rs.ext.ExceptionMapper<T>
| Constructor and Description |
|---|
AbstractExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.slf4j.Logger |
getLogger()
Gets the logger.
|
protected abstract String |
getResponseMessage(T exception)
Gets the response message.
|
protected abstract javax.ws.rs.core.Response.Status |
getResponseStatus(T exception)
Gets the response status.
|
abstract Class<? extends AbstractExceptionHandler<T>> |
getType()
Gets the type.
|
javax.ws.rs.core.Response |
toResponse(T exception) |
public javax.ws.rs.core.Response toResponse(T exception)
public abstract Class<? extends AbstractExceptionHandler<T>> getType()
protected abstract org.slf4j.Logger getLogger()
protected abstract javax.ws.rs.core.Response.Status getResponseStatus(T exception)
exception - the exceptionCopyright © 2010–2018 Eclipse Foundation. All rights reserved.