mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-24 08:00:00 -06:00
explain resolution errors better
This commit is contained in:
parent
db78ed41da
commit
3cb47f1ee6
@ -40,7 +40,7 @@ public abstract class NBCommandInfo {
|
||||
cmdCtor = getType().getConstructor(NBBufferedContainer.class, String.class, String.class);
|
||||
return cmdCtor.newInstance(parent, cmdName, ctxName);
|
||||
} catch (NoSuchMethodException | InvocationTargetException | InstantiationException | IllegalAccessException e) {
|
||||
throw new RuntimeException("Unable to instantiate command via ctor(parent,name,ctx): " + e,e);
|
||||
throw new RuntimeException("Unable to instantiate command via ctor(parent,name,ctx): " + e + (e.getCause()!=null ? "cause: " + e.getCause().toString() : ""),e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user