diff options
author | Brian S. O'Neill <bronee@gmail.com> | 2008-07-07 07:32:27 +0000 |
---|---|---|
committer | Brian S. O'Neill <bronee@gmail.com> | 2008-07-07 07:32:27 +0000 |
commit | f3b9507f4d655c311bcd3f019cdcd694584bb0de (patch) | |
tree | 6a4b80160ef3074070c372bacfc6e03ac4ee67b6 /src | |
parent | 871826a2eb45b0c16888ec2e80740c5962c88dad (diff) |
Don't wrap MalformedArgumentExceptions.
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/amazon/carbonado/repo/sleepycat/BDBRepository.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBRepository.java b/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBRepository.java index b2b1271..9abdd5d 100644 --- a/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBRepository.java +++ b/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBRepository.java @@ -32,6 +32,7 @@ import com.amazon.carbonado.ConfigurationException; import com.amazon.carbonado.Cursor;
import com.amazon.carbonado.FetchException;
import com.amazon.carbonado.IsolationLevel;
+import com.amazon.carbonado.MalformedArgumentException;
import com.amazon.carbonado.PersistException;
import com.amazon.carbonado.Repository;
import com.amazon.carbonado.RepositoryException;
@@ -342,6 +343,8 @@ abstract class BDBRepository<Txn> extends AbstractRepository<Txn> {
try {
return createBDBStorage(type);
+ } catch (MalformedArgumentException e) {
+ throw e;
} catch (Exception e) {
throw toRepositoryException(e);
}
|