The methods in the io.v.syncbase
package can throw the following exceptions:
Some particular method in the io.v.syncbase
package can throw these exceptions:
Method Thrown From | Exception |
---|---|
Syncgroup.getAccessList or Collection.getAccessList (various inconsistencies in permissions) orSyncbase.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), orId.decode (invalid encoded ID) | IllegalArgumentException |
Any method in the io.v.syncbase
package can throw any of these exceptions:
Vanadium Error | Exception |
---|---|
EndOfFile | SyncbaseEndOfFileException |
NoServers SyncgroupJoinFailed | SyncbaseNoServersException |
BadVersion ConcurrentBatch UnknownBatch | SyncbaseRaceException |
CorruptDatabase | SyncbaseRestartException |
Timeout | SyncbaseRetryBackoffException |
NoAccess NotTrusted NoExistOrNoAccess UnauthorizedCreateId InferAppBlessingFailed InferUserBlessingFailed InferDefaultPermsFailed | SyncbaseSecurityException |
Unknown Internal BadState UnknownMethod UnknownSuffix BadProtocol BadExecStreamHeader | SyncbaseInternalException |
BadArg InvalidName NotBoundToBatch ReadOnlyBatch | IllegalArgumentException |
Exist NotInDevMode BlobNotCommitted InvalidPermissionsChange Aborted | IllegalStateException |
Canceled | CancellationException |
NoExist | NoSuchElementException |
NotImplemented | UnsupportedOperationException |