Class SpringBootAwsProxyExceptionHandler
java.lang.Object
com.amazonaws.serverless.proxy.AwsProxyExceptionHandler
com.amazonaws.serverless.proxy.spring.SpringBootAwsProxyExceptionHandler
- All Implemented Interfaces:
ExceptionHandler<AwsProxyResponse>
public class SpringBootAwsProxyExceptionHandler
extends AwsProxyExceptionHandler
implements ExceptionHandler<AwsProxyResponse>
This ExceptionHandler implementation enhances the standard AwsProxyExceptionHandler
by mapping additional details from org.springframework.web.ErrorResponse
As of now this class is identical with SpringAwsProxyExceptionHandler. We may consider
moving it to a common module to share it in the future.
-
Field Summary
Fields inherited from class com.amazonaws.serverless.proxy.AwsProxyExceptionHandler
HEADERS -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.amazonaws.serverless.proxy.AwsProxyExceptionHandler
getErrorJson, handleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.amazonaws.serverless.proxy.ExceptionHandler
handle
-
Constructor Details
-
SpringBootAwsProxyExceptionHandler
public SpringBootAwsProxyExceptionHandler()
-
-
Method Details
-
handle
- Specified by:
handlein interfaceExceptionHandler<AwsProxyResponse>- Overrides:
handlein classAwsProxyExceptionHandler
-