From: Hal H. <hal...@or...> - 2006-06-20 15:48:34
|
try { terminate VM; } catch (SmartFrogException e) { throw new RemoteException(=B3Some message=B2, e); } On the flip side: try { ... } catch (RemoteException e) { SmartFrogExceptiion org =3D e.getCause(); } I believe this will get you what you want... On 6/20/06 8:05 AM, "Xavier Grehant" <xav...@gm...> wrote: > We want to have a correspondance between the lifecycle of our SmartFrog > component representing a Xen virtual machine, and the virtual machine its= elf. > So we put into sfTerminateWith the call to the script that terminates the > virtual machine, which throws a SmartFrog exception. But sfTerminateWith > cannot forward the SmartFrog exception because it only throws RemoteExcep= tion. > Why?=20 >=20 > Thanks in advance, > Olivier and Xavier >=20 >=20 >=20 > _______________________________________________ > Smartfrog-developer mailing list > Sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartfrog-developer |