Package com.robothy.s3.rest.handler
Class LocalS3InvalidArgumentExceptionHandler
java.lang.Object
com.robothy.s3.rest.handler.LocalS3InvalidArgumentExceptionHandler
- All Implemented Interfaces:
com.robothy.netty.router.ExceptionHandler<com.robothy.s3.core.exception.LocalS3InvalidArgumentException>
public class LocalS3InvalidArgumentExceptionHandler
extends Object
implements com.robothy.netty.router.ExceptionHandler<com.robothy.s3.core.exception.LocalS3InvalidArgumentException>
Example Response Body:
<?xml version="1.0" encoding="UTF-8"?>
<Error>
<Code>InvalidArgument</Code>
<Message>Invalid Encoding Method specified in Request</Message>
<ArgumentName>encoding-type</ArgumentName>
<ArgumentValue>aa</ArgumentValue>
<RequestId>VGEKQFPHD810M604</RequestId>
<HostId>vieD/O9bf+rcr4eiwzXGKIrgaohTsdEiK5A3KJqreJj608+WphNzw4N0qmrQJyxnH/fuza9BEbw=</HostId>
</Error>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(com.robothy.s3.core.exception.LocalS3InvalidArgumentException e, com.robothy.netty.http.HttpRequest request, com.robothy.netty.http.HttpResponse response)
-
Constructor Details
-
LocalS3InvalidArgumentExceptionHandler
public LocalS3InvalidArgumentExceptionHandler()
-
-
Method Details
-
handle
public void handle(com.robothy.s3.core.exception.LocalS3InvalidArgumentException e, com.robothy.netty.http.HttpRequest request, com.robothy.netty.http.HttpResponse response) - Specified by:
handlein interfacecom.robothy.netty.router.ExceptionHandler<com.robothy.s3.core.exception.LocalS3InvalidArgumentException>
-