Package i5.las2peer.persistency
Interface StorageExceptionHandler
- All Known Implementing Classes:
FetchEnvelopeHelper,FetchHashedHelper,LatestArtifactVersionFinder,MultiArtifactHandler,MultiStoreResult,StoreProcessHelper
public interface StorageExceptionHandler
This interface can be used to implement a handler that recieves exceptions occurring during network operations.
-
Method Summary
Modifier and Type Method Description voidonException(java.lang.Exception e)This method is called in its own thread to handle the given exception.
-
Method Details
-
onException
void onException(java.lang.Exception e)This method is called in its own thread to handle the given exception.- Parameters:
e- An execption that occurred during a network operation. Usually the reason or metadata should be known from the surrounding context and should be provided to this handler, too.
-