Package dev.dsf.fhir.exception
Class DataFormatExceptionHandler
java.lang.Object
dev.dsf.fhir.exception.DataFormatExceptionHandler
- All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<ca.uhn.fhir.parser.DataFormatException>,org.springframework.beans.factory.InitializingBean
@Provider
public class DataFormatExceptionHandler
extends Object
implements jakarta.ws.rs.ext.ExceptionMapper<ca.uhn.fhir.parser.DataFormatException>, org.springframework.beans.factory.InitializingBean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidjakarta.ws.rs.core.ResponsetoResponse(ca.uhn.fhir.parser.DataFormatException exception)
-
Constructor Details
-
DataFormatExceptionHandler
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
toResponse
public jakarta.ws.rs.core.Response toResponse(ca.uhn.fhir.parser.DataFormatException exception) - Specified by:
toResponsein interfacejakarta.ws.rs.ext.ExceptionMapper<ca.uhn.fhir.parser.DataFormatException>
-