public class CorruptEncodingException extends FetchException
Constructor and Description |
---|
CorruptEncodingException() |
CorruptEncodingException(int expectedGeneration,
int actualGeneration) |
CorruptEncodingException(java.lang.String message) |
CorruptEncodingException(java.lang.String message,
java.lang.Throwable cause) |
CorruptEncodingException(java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage() |
Storable |
getStorableWithPrimaryKey()
If the decoder was able to extract the primary key, it will be available in the
returned Storable.
|
void |
setStorableWithPrimaryKey(Storable s)
If the decoder can at least extract the primary key, it should set it here.
|
backoff, getRootCause, makeFetchException, makePersistException, toFetchException, toFetchException, toPersistException, toPersistException
public CorruptEncodingException()
public CorruptEncodingException(java.lang.String message)
public CorruptEncodingException(java.lang.String message, java.lang.Throwable cause)
public CorruptEncodingException(java.lang.Throwable cause)
public CorruptEncodingException(int expectedGeneration, int actualGeneration)
expectedGeneration
- expected layout generation of decoded storableactualGeneration
- actual layout generation of decoded storablepublic void setStorableWithPrimaryKey(Storable s)
public Storable getStorableWithPrimaryKey()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.