Hi all ...I'm a Java newbie ...
My question involves the use of the getmessage() functionality when handling an IOException.
Now there are several IOException "types" ... e.g. EOF (EndOfFile), File Not Found etc ...
While I'm reading a file (using the java.nio.* class)
and I encounter some sort of I/O error
will (IOException e) produce a specific IO error exception message
when I invoke ( e.getmessage() )
seohulu 270004MXRX3 Posts
Re: Using getmessage()2011-09-28T21:45:54ZThis is the accepted answer. This is the accepted answer.Depends on which specific subclass of IOException which has been caught by you, if it IS a specific subclass of IOException (ChangedCharSetException, CharacterCodingException...), then it will give out a specific error msg.
if it is just a general IOException, then it will not.
you can use e.printStackTrace() to find out exactly which line caused the exception.
Acoolme is an Online Marketing Software Platform And Social Community
willey 270005GFTT4 Posts
Re: Using getmessage()2012-07-11T10:36:34ZThis is the accepted answer. This is the accepted answer.I am new to Java, with my knowledge getmessage works have some exceptions
Making your web access secure using SSL Certificate is a right choice and Choosing the right Certificate Authority for SSL Certificate is tough one ,here it is Comodo is the only Certificate authority which gives full support from initializing till installing your SSL Certificate.