Index: src/main/java/org/apache/imperius/javaspl/JavaActuatorImpl.java =================================================================== --- src/main/java/org/apache/imperius/javaspl/JavaActuatorImpl.java (revision 691409) +++ src/main/java/org/apache/imperius/javaspl/JavaActuatorImpl.java (working copy) @@ -108,17 +108,17 @@ result = method.invoke(instance, arrayOfParameters); } } catch (ClassNotFoundException e) { - throw new SPLException(e.getMessage()); + throw new SPLException(e); } catch (SecurityException e) { - throw new SPLException(e.getMessage()); + throw new SPLException(e); } catch (NoSuchMethodException e) { - throw new SPLException(e.getMessage()); + throw new SPLException(e); } catch (IllegalArgumentException e) { - throw new SPLException(e.getMessage()); + throw new SPLException(e); } catch (IllegalAccessException e) { - throw new SPLException(e.getMessage()); + throw new SPLException(e); } catch (InvocationTargetException e) { - throw new SPLException(e.getMessage()); + throw new SPLException(e); } return result; } @@ -182,17 +182,17 @@ } } } catch (ClassNotFoundException e) { - throw new SPLException(e.getMessage()); + throw new SPLException(e); } catch (SecurityException e) { - throw new SPLException(e.getMessage()); + throw new SPLException(e); } catch(NoSuchMethodException e) { - throw new SPLException(e.getMessage()); + throw new SPLException(e); } catch(InvocationTargetException e) { - throw new SPLException(e.getMessage()); + throw new SPLException(e); } catch (IllegalArgumentException e) { - throw new SPLException(e.getMessage()); + throw new SPLException(e); } catch (IllegalAccessException e) { - throw new SPLException(e.getMessage()); + throw new SPLException(e); } } @@ -226,8 +226,7 @@ paramTypeArray[i++] = c; } } catch (ClassNotFoundException e) { - e.printStackTrace(); - throw new SPLException(e.getMessage()); + throw new SPLException(e); } return paramTypeArray; }