Package org.tranche.exceptions

Any custom exceptions used by Tranche.

See:
          Description

Exception Summary
AssertionFailedException Used when a programming assertion fails, meaning code is in an inconsistent state.
CantHandleVersionException This exception represents that a newer version of data is being read by code that was created to only use older versions.
CantVerifySignatureException Special IOException that represents an invalid signature.
ChunkAlreadyExistsSecurityException Exception thrown only if trying to set a chunk that already exists and do not have sufficient privileges to delete.
ChunkDoesNotBelongException If a chunk does not belong to Tranche server (data or routing server if none of data servers match), this is thrown.
ChunkDoesNotMatchHashException  
CorruptDataException This exception represents corrupted data.
CouldNotFindMetaDataException  
MetaDataIsCorruptedException Exception when meta data cannot be read, and is hence corrupted.
NoHostProvidedException If no host provided for request, but host required, throw this exception.
NoMatchingServersException Used when cannot find a server to handle the request.
NoOnlineServersException Used to indicate no servers are available.
OutOfDiskSpaceException Represents that a node is out of disk space.
PassphraseIncorrectException Represents an exception involving an incorrect passphrase.
PassphraseRequiredException Represents an exception involving a missing passphrase.
PropagationFailedException Used when server didn't fulfill request due to an exception on another host.
PropagationUnfulfillableHostException  
RejectedRequestException Exception thrown whenever a client request is rejected by the server.
ServerIsNotReadableException  
ServerIsNotWritableException  
ServerIsOfflineException If server is offline when expected to be online.
TodoException Used when functionality not implemented yet, but planned.
TrancheProtocolException Used if client request is improperly formatted.
UnexpectedEndOfDataBlockException Used if expecting more bytes in data block, but read end.
UnexpectedEndOfStreamException Used to help manage unexpected end of stream.
UnknownArgumentException Represents an unrecognized command-line argument.
UnresponsiveServerException  
UnsupportedServerOperationException  
 

Package org.tranche.exceptions Description

Any custom exceptions used by Tranche.



This code is free for use both commercially and non-commercially as stated in the project's license