From d479253768d296a40b4f699e1de9b03c7146a97a Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Tue, 3 Dec 2013 14:03:28 -0800 Subject: Adding javadocs and Carbonado User Guide --- .../amazon/carbonado/CorruptEncodingException.html | 395 +++++++++++++++++++++ 1 file changed, 395 insertions(+) create mode 100644 apidocs/com/amazon/carbonado/CorruptEncodingException.html (limited to 'apidocs/com/amazon/carbonado/CorruptEncodingException.html') diff --git a/apidocs/com/amazon/carbonado/CorruptEncodingException.html b/apidocs/com/amazon/carbonado/CorruptEncodingException.html new file mode 100644 index 0000000..8daef99 --- /dev/null +++ b/apidocs/com/amazon/carbonado/CorruptEncodingException.html @@ -0,0 +1,395 @@ + + + + + + +CorruptEncodingException (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado
+

Class CorruptEncodingException

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable
    +
    +
    +
    +
    public class CorruptEncodingException
    +extends FetchException
    +
    A CorruptEncodingException is caused when decoding an encoded record fails.
    +
    Author:
    +
    Brian S O'Neill
    +
    See Also:
    Serialized Form
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CorruptEncodingException

        +
        public CorruptEncodingException()
        +
      • +
      + + + +
        +
      • +

        CorruptEncodingException

        +
        public CorruptEncodingException(java.lang.String message)
        +
      • +
      + + + +
        +
      • +

        CorruptEncodingException

        +
        public CorruptEncodingException(java.lang.String message,
        +                        java.lang.Throwable cause)
        +
      • +
      + + + +
        +
      • +

        CorruptEncodingException

        +
        public CorruptEncodingException(java.lang.Throwable cause)
        +
      • +
      + + + +
        +
      • +

        CorruptEncodingException

        +
        public CorruptEncodingException(int expectedGeneration,
        +                        int actualGeneration)
        +
        Parameters:
        expectedGeneration - expected layout generation of decoded storable
        actualGeneration - actual layout generation of decoded storable
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setStorableWithPrimaryKey

        +
        public void setStorableWithPrimaryKey(Storable s)
        +
        If the decoder can at least extract the primary key, it should set it here.
        +
      • +
      + + + +
        +
      • +

        getStorableWithPrimaryKey

        +
        public Storable getStorableWithPrimaryKey()
        +
        If the decoder was able to extract the primary key, it will be available in the + returned Storable. If this exception was re-constructed through serialization, then + the Storable is as well. As a result, it won't be bound to any Repository and + updating it will have no effect.
        +
        Returns:
        partial Storable with primary key defined, or null if unable to + decode the key
        +
      • +
      + + + +
        +
      • +

        getMessage

        +
        public java.lang.String getMessage()
        +
        +
        Overrides:
        +
        getMessage in class java.lang.Throwable
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + -- cgit v1.2.3