Java Programing

October 14, 2006

try { myNetPeerGroup=PeerGroupFactory.newNetPeerGroup(); } catch ( PeerGroupException e)

Filed under: Java Programming — webmaster @ 4:31 am

try { myNetPeerGroup=PeerGroupFactory.newNetPeerGroup(); } catch ( PeerGroupException e) { // could not instantiate the group, print the stack and exit System.out.println(”fatal error : group creation failure”); e.printStackTrace(); System.exit(1); } return myNetPeerGroup; } public static void main(String args[]) { SecurePeerGroup satellaRoot = new SecurePeerGroup(); System.exit(0); } } 138 JXTA v2.3.x: Java Programmer s Guide

Note: If you are looking for good and high quality web space to host and run your java application check Lunarwebhost java web hosting services

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

You must be logged in to post a comment.

Powered by Java Web Hosting