[jcifs] UnknownHostException doesn't throw UnknownHostException

Michael B. Allen miallen at eskimo.com
Sun Oct 27 15:23:14 EST 2002

On Sat, 26 Oct 2002 22:19:35 -0400
Matthew Tippett <matthew.tippett at sympatico.ca> wrote:

> Hello again,
> Guess who is doing some heavy development with jcifs :)
> Currently SmbFile is documented (and does) (deep within the bowels of 
> getHostByName()) throw UnknownHostException.
> The API however doesn't have the throw as part of of the constructor 
> definition.

With   0.7.0b5  SmbFile  constructors  do  not  throw  UnknownHostException
(however  there  is  a very small possibilty it might go back in before the
betas  are  done  depending  on  how  outstanding URL handling concerns are

> Is there a bugtracking system that things like this can be logged so 
> that they don't fall through any cracks?
> Regards,
> Matthew

A  program should be written to model the concepts of the task it
performs rather than the physical world or a process because this
maximizes  the  potential  for it to be applied to tasks that are
conceptually  similar and, more important, to tasks that have not
yet been conceived. 

More information about the jcifs mailing list