tree: 64540e266de316d4e1373a94f9af2887835f8523 [path history] [tgz]
  1. Exceptions.java
  2. README.md
  3. SyncbaseEndOfFileException.java
  4. SyncbaseException.java
  5. SyncbaseInternalException.java
  6. SyncbaseNoServersException.java
  7. SyncbaseRaceException.java
  8. SyncbaseRestartException.java
  9. SyncbaseRetryBackoffException.java
  10. SyncbaseRetryConnectionException.java
  11. SyncbaseRetryRefetchException.java
  12. SyncbaseSecurityException.java
syncbase/src/main/java/io/v/syncbase/exception/README.md

Syncbase Exceptions

The methods in the io.v.syncbase package can throw the following exceptions:

  • java.lang.Exception
    • io.v.syncbase.exception.SyncbaseException
      • io.v.syncbase.exception.SyncbaseEndOfFileException
      • io.v.syncbase.exception.SyncbaseNoServersException
      • io.v.syncbase.exception.SyncbaseRaceException
      • io.v.syncbase.exception.SyncbaseRestartException
      • io.v.syncbase.exception.SyncbaseRetryBackoffException
      • io.v.syncbase.exception.SyncbaseRetryFetchException
      • io.v.syncbase.exception.SyncbaseSecurityException
    • java.lang.RuntimeException
      • io.v.syncbase.exception.SyncbaseInternalException
      • java.lang.IllegalArgumentException
      • java.lang.IllegalStateException
        • java.util.concurrent.CancellationException
      • java.util.NoSuchElementException
      • java.lang.UnsupportedOperationException

Exceptions Detected in Java

Some particular method in the io.v.syncbase package can throw these exceptions:

Method Thrown FromException
Syncgroup.getAccessList or Collection.getAccessList (various inconsistencies in permissions) or
Syncbase.login (unsupported authentication provider)
SyncbaseSecurityException
BatchDatabase.collection (opts.withoutSyncgroup parameter is false),
Collection.getSyncgroup (Collection is in a batch),
Database.syncgroup (no collections or collection without creator), or
Id.decode (invalid encoded ID)
IllegalArgumentException

Exceptions Caused by Underlying Vanadium Errors

Any method in the io.v.syncbase package can throw any of these exceptions:

Vanadium ErrorException
EndOfFileSyncbaseEndOfFileException
NoServers SyncgroupJoinFailedSyncbaseNoServersException
BadVersion ConcurrentBatch UnknownBatchSyncbaseRaceException
CorruptDatabaseSyncbaseRestartException
TimeoutSyncbaseRetryBackoffException
NoAccess NotTrusted NoExistOrNoAccess UnauthorizedCreateId InferAppBlessingFailed InferUserBlessingFailed InferDefaultPermsFailedSyncbaseSecurityException
Unknown Internal BadState UnknownMethod UnknownSuffix BadProtocol BadExecStreamHeaderSyncbaseInternalException
BadArg InvalidName NotBoundToBatch ReadOnlyBatchIllegalArgumentException
Exist NotInDevMode BlobNotCommitted InvalidPermissionsChange AbortedIllegalStateException
CanceledCancellationException
NoExistNoSuchElementException
NotImplementedUnsupportedOperationException