org.azzyzt.jee.runtime.service
Class ExceptionToSuccessMapper

java.lang.Object
  extended by org.azzyzt.jee.runtime.service.ExceptionToSuccessMapper

public class ExceptionToSuccessMapper
extends java.lang.Object


Field Summary
 java.lang.String code
           
 java.lang.String detail
           
 java.lang.String type
           
 
Constructor Summary
ExceptionToSuccessMapper()
           
 
Method Summary
 javax.ws.rs.core.Response toResponse(MapToHttpSuccessException e)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

public java.lang.String type

code

public java.lang.String code

detail

public java.lang.String detail
Constructor Detail

ExceptionToSuccessMapper

public ExceptionToSuccessMapper()
Method Detail

toResponse

public javax.ws.rs.core.Response toResponse(MapToHttpSuccessException e)