From fef0a030bd6cd66a76984fd4cbb06645924b5027 Mon Sep 17 00:00:00 2001 From: dkocher Date: Wed, 3 Dec 2014 14:57:46 +0000 Subject: [PATCH] Add error description for missing implementation. git-svn-id: https://svn.cyberduck.io/trunk@15977 9e2dff1d-8f06-0410-b5b1-4d70b6340adc --- source/ch/cyberduck/core/Factory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ch/cyberduck/core/Factory.java b/source/ch/cyberduck/core/Factory.java index 17d279f7bf..541d9c403a 100644 --- a/source/ch/cyberduck/core/Factory.java +++ b/source/ch/cyberduck/core/Factory.java @@ -42,7 +42,7 @@ public abstract class Factory { */ protected T create() { if(null == clazz) { - throw new FactoryException(); + throw new FactoryException(String.format("No implementation given for factory %s", this.getClass().getSimpleName())); } try { final Class name = (Class) Class.forName(clazz); -- 2.11.4.GIT