Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Skip a unavaible resource

 
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic