|
From: Lukas P. <pe...@us...> - 2002-09-03 17:48:11
|
Update of /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/realtime
In directory usw-pr-cvs1:/tmp/cvs-serv14848
Modified Files:
ImageR.java
Log Message:
changed thrown exceptions
Index: ImageR.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/realtime/ImageR.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** ImageR.java 20 Aug 2002 18:59:19 -0000 1.14
--- ImageR.java 3 Sep 2002 17:48:08 -0000 1.15
***************
*** 255,260 ****
).getDeclaredConstructor(mrParameterTypes);
} catch (ClassNotFoundException e) {
! // PENDING
! throw new RuntimeException(e.getMessage());
} catch (NoSuchMethodException e) {
// PENDING
--- 255,259 ----
).getDeclaredConstructor(mrParameterTypes);
} catch (ClassNotFoundException e) {
! throw new LinkageError(e.getMessage());
} catch (NoSuchMethodException e) {
// PENDING
***************
*** 310,316 ****
itChildren = wrappedGetChangedThruIterator(parentId.intValue(),
direction, true, true, IProf.NO_OPTIONAL_ARG, true);
} catch (IProfException e) {
! // PENDING
! throw new RuntimeException(e.getMessage());
}
int old=list.size();
--- 309,316 ----
itChildren = wrappedGetChangedThruIterator(parentId.intValue(),
direction, true, true, IProf.NO_OPTIONAL_ARG, true);
+ } catch (COMMUN_Exception e) {
+ throw new VMDisconnectedException(e.toString());
} catch (IProfException e) {
! throw new RuntimeException(e.toString());
}
int old=list.size();
|