• Post Reply Bookmark Topic Watch Topic
  • New Topic

Where dose JSException come from?

 
Kidd He
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I make applet communication with javascript.

java code:


the html:


I compile the java code with any error or exception, but when I run the html page, inputing a word in the applet and pressing Enter, throwing a exception :


Why?Thanks!
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you catch that exception in the applet, what does its getMessage method return?
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!