summaryrefslogtreecommitdiff
path: root/src/main/java/com/amazon/carbonado
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2008-07-07 07:32:27 +0000
committerBrian S. O'Neill <bronee@gmail.com>2008-07-07 07:32:27 +0000
commitf3b9507f4d655c311bcd3f019cdcd694584bb0de (patch)
tree6a4b80160ef3074070c372bacfc6e03ac4ee67b6 /src/main/java/com/amazon/carbonado
parent871826a2eb45b0c16888ec2e80740c5962c88dad (diff)
Don't wrap MalformedArgumentExceptions.
Diffstat (limited to 'src/main/java/com/amazon/carbonado')
-rw-r--r--src/main/java/com/amazon/carbonado/repo/sleepycat/BDBRepository.java3
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);
}