diff --git a/cf-spring/src/main/java/cf/spring/NatsVcapFactoryBean.java b/cf-spring/src/main/java/cf/spring/NatsVcapFactoryBean.java
index <HASH>..<HASH> 100644
--- a/cf-spring/src/main/java/cf/spring/NatsVcapFactoryBean.java
+++ b/cf-spring/src/main/java/cf/spring/NatsVcapFactoryBean.java
@@ -46,13 +46,13 @@ public class NatsVcapFactoryBean implements FactoryBean<CfNats>, InitializingBea
 	}
 
 	@Override
-	public CfNats getObject() throws Exception {
+	public CfNats getObject() {
 		return cfNats;
 	}
 
 	@Override
 	public Class<?> getObjectType() {
-		return cfNats == null ? DefaultCfNats.class : cfNats.getClass();
+		return cfNats.getClass();
 	}
 
 	@Override
Don't need to declare a thrown exception on the factory method.
cfNats field can never be null so null check isn't needed.