|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.basho.riak.client.plain.ConvertToCheckedExceptions
WARNING: This class will be REMOVED in the next version.
@Deprecated public class ConvertToCheckedExceptions
Converts unchecked exceptions RiakIORuntimeException and
RiakResponseRuntimeException to checked exceptions RiakIOException and
RiakRuntimeException. Be careful that everywhere calling a RiakClient
with this handler installed contains the appropriate throws declaration.
ConvertToCheckedExceptions
Constructor Summary | |
---|---|
ConvertToCheckedExceptions()
Deprecated. |
Method Summary | |
---|---|
void |
handle(RiakIORuntimeException e)
Deprecated. Throws a checked RiakIOException |
void |
handle(RiakResponseRuntimeException e)
Deprecated. Throws a checked RiakResponseException |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConvertToCheckedExceptions()
Method Detail |
---|
public void handle(RiakIORuntimeException e)
RiakIOException
handle
in interface RiakExceptionHandler
public void handle(RiakResponseRuntimeException e)
RiakResponseException
handle
in interface RiakExceptionHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |