com.sun.jini.tool.envcheck.plugins
Class CheckCodebase.URLAccessor

java.lang.Object
  extended by com.sun.jini.tool.envcheck.plugins.CheckCodebase.URLAccessor
All Implemented Interfaces:
Runnable
Enclosing class:
CheckCodebase

private class CheckCodebase.URLAccessor
extends Object
implements Runnable

A Runnable which attempts to open a URL connection. If the attempt results in an exception being throw, the exception is stored for later access by the invoker of the thread.


Field Summary
(package private)  Throwable exception
           
(package private)  URL url
           
 
Constructor Summary
CheckCodebase.URLAccessor(URL url)
           
 
Method Summary
(package private)  Throwable getException()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

url

URL url

exception

Throwable exception
Constructor Detail

CheckCodebase.URLAccessor

CheckCodebase.URLAccessor(URL url)
Method Detail

run

public void run()
Specified by:
run in interface Runnable

getException

Throwable getException()


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.