[Pfc-prolog-cvs] prolix/src/org/asturlinux/frade/prolix/consoleclient ConsoleClient.java,1.5,1.6
Status: Beta
Brought to you by:
ivanfrade
From: <iva...@us...> - 2003-06-28 17:23:26
|
Update of /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/consoleclient In directory sc8-pr-cvs1:/tmp/cvs-serv27695/src/org/asturlinux/frade/prolix/consoleclient Modified Files: ConsoleClient.java Log Message: minor changes. Problems in jboss finding implementation class Index: ConsoleClient.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/consoleclient/ConsoleClient.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ConsoleClient.java 28 Jun 2003 11:37:03 -0000 1.5 --- ConsoleClient.java 28 Jun 2003 17:23:23 -0000 1.6 *************** *** 128,132 **** { String input = new String(in.readLine()); ! // interpreter.loadProgram(input) } catch (IOException io) --- 128,140 ---- { String input = new String(in.readLine()); ! interpreter.loadProgram(input); ! } ! catch (LexicalException le) ! { ! System.out.println("Lexical error"); ! } ! catch (SyntaxException se) ! { ! System.out.println("Syntax error"); } catch (IOException io) *************** *** 144,148 **** catch (RemoteException re) { ! System.out.println("Remote exception: 145"); } } --- 152,156 ---- catch (RemoteException re) { ! System.out.println("Remote exception in getLoadedProgram"); } } *************** *** 155,159 **** { String input = new String(in.readLine()); ! // interpreter.loadConsult(input) } catch (IOException io) --- 163,179 ---- { String input = new String(in.readLine()); ! interpreter.loadConsult(input); ! } ! catch (LexicalException le) ! { ! System.out.println("Lexical error"); ! } ! catch (SyntaxException se) ! { ! System.out.println("Syntax error"); ! } ! catch (ProgramNotLoadedException pnle) ! { ! System.out.println("Unable to load a query without a program"); } catch (IOException io) |