com.google.appengine.api.files

## Class KeyOrderingException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.io.IOException
      - - com.google.appengine.api.files.KeyOrderingException

- All Implemented Interfaces:
    java.io.Serializable

      public class KeyOrderingException
      extends java.io.IOException

  A `KeyOrderingException` is thrown by the method `FileWriteChannel.write(ByteBuffer, String)` if the `sequenceKey` parameter is not `null` and the backend system already has recorded a last good sequence key for the file and `sequenceKey` is not lexicographically strictly greater than the last good sequence key. The last good sequence key may then be retrieved via the method `getLastGoodSequenceKey()`
  See Also:
    Serialized Form

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getLastGoodSequenceKey()`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### getLastGoodSequenceKey

          public java.lang.String getLastGoodSequenceKey()