com.pmease.quickbuild.rest.providers
Class GenericExceptionMapper

java.lang.Object
  extended by com.pmease.quickbuild.rest.providers.GenericExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<java.lang.Throwable>

@Provider
public class GenericExceptionMapper
extends java.lang.Object
implements javax.ws.rs.ext.ExceptionMapper<java.lang.Throwable>


Constructor Summary
GenericExceptionMapper()
           
 
Method Summary
 javax.ws.rs.core.Response toResponse(java.lang.Throwable exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericExceptionMapper

public GenericExceptionMapper()
Method Detail

toResponse

public javax.ws.rs.core.Response toResponse(java.lang.Throwable exception)
Specified by:
toResponse in interface javax.ws.rs.ext.ExceptionMapper<java.lang.Throwable>


Copyright © 2005-2010 PMEase Inc. All Rights Reserved.