Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Skip a unavaible resource  RSS feed

 
Marco Lombardo
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an application with jnlp file.
The file check the url in the tag
<jnlp spec="1.0+" href="resourceX" codebase="resourceY"> , but when
the resource is unavailable the application crashes (exception wrapped in the consolle is java.IOException).
Is it possible to skip this check and run the offline code (when the resource above is unavaible)?
Thanks
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!