de.smartics.properties.admin.resources.share
Class ExceptionHandler
java.lang.Object
de.smartics.resteasy.hypermedia.renderer.AbstractExceptionHandler
de.smartics.properties.admin.resources.share.ExceptionHandler
-
All Implemented Interfaces:
-
javax.ws.rs.ext.ExceptionMapper<
Throwable>
-
@Provider
public class ExceptionHandler
-
extends de.smartics.resteasy.hypermedia.renderer.AbstractExceptionHandler
Handles raised exceptions by transforming them to their representations for the client.
Field Summary |
protected de.smartics.html5.jatl.HtmlFactory |
factory The factory to create the HTML documents. |
protected de.smartics.resteasy.hypermedia.renderer.I18nProvider |
i18nProvider Provides access to internationalization information. |
Fields inherited from class de.smartics.resteasy.hypermedia.renderer.AbstractExceptionHandler |
request, response, servletRequest, servletResponse, uriInfo |
Methods inherited from class de.smartics.resteasy.hypermedia.renderer.AbstractExceptionHandler |
createContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factory
@Inject
protected de.smartics.html5.jatl.HtmlFactory factory
-
The factory to create the HTML documents.
i18nProvider
@Inject
protected de.smartics.resteasy.hypermedia.renderer.I18nProvider i18nProvider
-
Provides access to internationalization information.
ExceptionHandler
public ExceptionHandler()
getI18nProvider
protected de.smartics.resteasy.hypermedia.renderer.I18nProvider getI18nProvider()
-
-
Specified by:
-
getI18nProvider
in class
de.smartics.resteasy.hypermedia.renderer.AbstractExceptionHandler
-
toResponse
public javax.ws.rs.core.Response toResponse(Throwable exception)
-
-
Specified by:
-
toResponse
in interface
javax.ws.rs.ext.ExceptionMapper<Throwable>
-
Overrides:
-
toResponse
in class
de.smartics.resteasy.hypermedia.renderer.AbstractExceptionHandler
-
Copyright © 2013
Kronseder & Reiner GmbH - smartics. All Rights Reserved.