I am trying to create an application using jena API and gwt. How can I
get an exception from the server log displayed on the client? To be
more specific: Right now I get on the client the standard message of
unexpected exceptions
"com.google.gwt.user.client.rpc.StatusCodeException: The call failed
on the server; see server log for details".
On the server log:
[WARN] StandardContext[]Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method
'public abstract java.lang.String
com.diplomatiki.mypackage.client.MyService.myMethod2
(java.lang.String,java.lang.String)' threw an unexpected exception:
com.hp.hpl.jena.query.QueryParseException: Lexical error at line 1,
column 10. Encountered: <EOF> after : "dfasfFSFS"
...
...
Caused by: com.hp.hpl.jena.query.QueryParseException: Lexical error at
line 1, column 10. Encountered: <EOF> after : "dfasfFSFS"
at com.hp.hpl.jena.sparql.lang.ParserSPARQL.perform(ParserSPARQL.java:
95)
at com.hp.hpl.jena.sparql.lang.ParserSPARQL.parse(ParserSPARQL.java:
39)
at com.hp.hpl.jena.query.QueryFactory.parse(QueryFactory.java:129)
at com.hp.hpl.jena.query.QueryFactory.create(QueryFactory.java:72)
at com.hp.hpl.jena.query.QueryFactory.create(QueryFactory.java:43)
at com.hp.hpl.jena.query.QueryFactory.create(QueryFactory.java:31)
I want to display the actual error on the client side (or even better
a description of my own), is that possible?
I have read the documentation and found no way to do this. I searched
the forum and there was a solution based on serializableexception,
which is deprecated now.
Please help me with this one, I would appreciate it much.
Thanks,
Gerasimos
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---