[Pfc-prolog-cvs] prolix/src/org/asturlinux/frade/prolix/consoleclient ConsoleClient.java,1.7,1.8
Status: Beta
Brought to you by:
ivanfrade
From: <iva...@us...> - 2003-07-14 21:49:42
|
Update of /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/consoleclient In directory sc8-pr-cvs1:/tmp/cvs-serv10367/src/org/asturlinux/frade/prolix/consoleclient Modified Files: ConsoleClient.java Log Message: Added exceptions in Bean - Corrected console client - updated jsp Index: ConsoleClient.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/consoleclient/ConsoleClient.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** ConsoleClient.java 4 Jul 2003 13:06:37 -0000 1.7 --- ConsoleClient.java 14 Jul 2003 21:49:39 -0000 1.8 *************** *** 157,160 **** --- 157,164 ---- System.out.println("Remote exception in getLoadedProgram"); } + catch (ProgramNotLoadedException pnle) + { + System.out.println("Cannot get a program not previouly loaded!"); + } } *************** *** 195,198 **** --- 199,206 ---- { System.out.println("Remote exception!!! 165"); + } + catch (QueryNotLoadedException qnle) + { + System.out.println("Cannot get a consult not previously loaded"); } } |