change to Java 5 compatible

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@780534 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
William Barker 2009-06-01 00:09:00 +00:00
parent 6fecb32ad6
commit ffd4d14d50
1 changed files with 6 additions and 2 deletions

View File

@ -633,9 +633,13 @@ public class AdamsIntegrator extends MultistepIntegrator {
}
} catch (NoSuchFieldException nsfe) {
throw new IOException(nsfe);
IOException ioe = new IOException();
ioe.initCause(nsfe);
throw ioe;
} catch (IllegalAccessException iae) {
throw new IOException(iae);
IOException ioe = new IOException();
ioe.initCause(iae);
throw ioe;
}
}