de.smartics.properties.admin.resources.share
Class ExceptionHandler

Package class diagram package ExceptionHandler
java.lang.Object
  extended by de.smartics.resteasy.hypermedia.renderer.AbstractExceptionHandler
      extended by 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
 
Constructor Summary
ExceptionHandler()
           
 
Method Summary
protected  de.smartics.resteasy.hypermedia.renderer.I18nProvider getI18nProvider()
           
 javax.ws.rs.core.Response toResponse(Throwable exception)
           
 
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
 

Field Detail

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.

Constructor Detail

ExceptionHandler

public ExceptionHandler()
Method Detail

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.