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() )
This topic has been locked.
2 replies Latest Post - 2012-07-11T10:36:34Z by willey
Pinned topic Using getmessage()
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-07-11T10:36:34Z at 2012-07-11T10:36:34Z by willey
seohulu 270004MXRX3 PostsACCEPTED ANSWER
Re: Using getmessage()2011-09-28T21:45:54Z in response to SystemAdminDepends 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 PostsACCEPTED ANSWER
Re: Using getmessage()2012-07-11T10:36:34Z in response to SystemAdminI 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.