Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.fasterxml.storemate.backend.leveldb;
 
 
 
 
public class LevelDBUtil
    public static <T> T convertDBE(StorableKey keyDBException dbException)
        throws StoreException
    {
        // any special types that require special handling... ?
        /*
        if (dbException instanceof LockTimeoutException) {
            throw new StoreException.ServerTimeout(key, dbException);
        }
        */
        throw new StoreException.DB(key..dbException);
    }
    public static <T> T convertIOE(StorableKey keyIOException ioe)
        throws StoreException
    {
        // any special types that require special handling... ?
        throw new StoreException.Internal(keyioe);
    }
New to GrepCode? Check out our FAQ X