From 275d0bbf555c8917be82ce4cc21eb4cabb00f4c5 Mon Sep 17 00:00:00 2001 From: Andrew Branson Date: Fri, 3 Oct 2014 17:30:41 +0200 Subject: Huge exception overhaul: Merged ClusterStorageException with PersistencyException. Replaced MembershipException with InvalidCollectionModification CORBA Exception. Made all predef steps throw more accurate exceptions when they go wrong, and let more exceptions bubble through from underneath. --- src/test/java/MainTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test/java') diff --git a/src/test/java/MainTest.java b/src/test/java/MainTest.java index 9154dca..8d25a0e 100644 --- a/src/test/java/MainTest.java +++ b/src/test/java/MainTest.java @@ -24,7 +24,7 @@ import java.util.StringTokenizer; import org.custommonkey.xmlunit.XMLUnit; -import com.c2kernel.common.ObjectNotFoundException; +import com.c2kernel.common.ObjectNotFound; import com.c2kernel.lifecycle.instance.stateMachine.StateMachine; import com.c2kernel.persistency.outcome.OutcomeValidator; import com.c2kernel.persistency.outcome.Schema; @@ -109,7 +109,7 @@ public class MainTest { } } - private static Schema getSchema(String name, int version, String resPath) throws ObjectNotFoundException { + private static Schema getSchema(String name, int version, String resPath) throws ObjectNotFound { return new Schema(name, version, Gateway.getResource().getTextResource(null, resPath)); } -- cgit v1.2.3