Better explanation in the exception being thrown.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@2291 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
8d67d9ade3
commit
7a76e13459
|
|
@ -255,7 +255,7 @@ class SimpleArgumentTypeDescriptor extends ArgumentTypeDescriptor {
|
|||
} catch (IllegalAccessException e) {
|
||||
throw new StingException("constructFromString:IllegalAccessException: Failed conversion " + e.getMessage());
|
||||
} catch (InvocationTargetException e) {
|
||||
throw new StingException("constructFromString:InvocationTargetException: Failed conversion " + e.getMessage());
|
||||
throw new StingException("constructFromString:InvocationTargetException: Failed conversion - this is most likely caused by using an incorrect data type (e.g. a double when an int is required)");
|
||||
} catch (InstantiationException e) {
|
||||
throw new StingException("constructFromString:InstantiationException: Failed conversion " + e.getMessage());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue