public class ConvertToCheckedExceptions extends Object implements RiakExceptionHandler
RiakClient
with this handler installed contains the appropriate throws declaration.Constructor and Description |
---|
ConvertToCheckedExceptions() |
Modifier and Type | Method and Description |
---|---|
void |
handle(RiakIORuntimeException e)
Throws a checked
RiakIOException |
void |
handle(RiakResponseRuntimeException e)
Throws a checked
RiakResponseException |
public void handle(RiakIORuntimeException e)
RiakIOException
handle
in interface RiakExceptionHandler
public void handle(RiakResponseRuntimeException e)
RiakResponseException
handle
in interface RiakExceptionHandler
Copyright © 2013. All Rights Reserved.