[jcifs] SmbException errorClass, errorCode error in SmbFile.java

Michael B Allen mba2000 at ioplex.com
Fri Oct 24 11:59:40 EST 2003


> An SmbException "unknown file" thrown at line 883 of SmbFile.java
<snip>
> The code, following other UnknownHost cases, should be
>
> } catch( UnknownHostException uhe ) {
> 	throw new SmbException( SmbException.ERRCLI,
> 				SmbException.ERRunknownHost,
> 				"Unknown host: " + uhe.getMessage() );

Fixed in what will eventually be 0.8.

Thanks,
Mike

-- 
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