|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvoldemort.store.ErrorCodeMapper
public class ErrorCodeMapper
Map error codes to exceptions and vice versa
| Constructor Summary | |
|---|---|
ErrorCodeMapper()
|
|
| Method Summary | |
|---|---|
short |
getCode(java.lang.Class<? extends VoldemortException> c)
|
short |
getCode(VoldemortException e)
|
VoldemortException |
getError(short code,
java.lang.String message)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ErrorCodeMapper()
| Method Detail |
|---|
public VoldemortException getError(short code,
java.lang.String message)
public short getCode(VoldemortException e)
public short getCode(java.lang.Class<? extends VoldemortException> c)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||