• Post Reply Bookmark Topic Watch Topic
  • New Topic

server-side exceptions

 
Esem Tax
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
on the server-side I want to print out a message whenever a remote exception is being thrown. However, I dont' know where I can intercept that, because as far as I know, remote exceptions are thrown in the auto-generated code.
Any ideas on how i can hook into that exception?
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No ideas how you can do that unless you have a try catch. But my question would be, why do you want the server to catch them? It is the client that needs to know and should show the Messagebox.
Mark
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!