Home > Message Boards > Others >
Class MalformedURLException in Java
Post new topic   Reply to topic View previous topic :: View next topic
Author Message
donaldrsimonn



Joined: 13 Apr 2020
Posts: 28
Location: 345345

PostPosted: Fri Jul 03, 2020 3:08 am   Post subject: Class MalformedURLException in Java Reply with quote



MalformedURLException is common exception classes in java when working with a network and is thrown from an application to indicate that a malformed URL has occurred. It happens when the built-in class URL gets an invalid URL.

In a client-server architecture, while connecting, if we use java.net.URL class object then we need to pass the String representation of URL. (This is while establishing a connection.) A MalformedURLException(Class MalformedException in Java) is thrown when “no legal protocol could be found in a specification String” or when the provided “String could not be parsed”. This is as per specification. As modern java supports most of the String manipulation statements via String commands,
_________________
https://www.bigseobazar.com/
Back to top
View members profile Send private message AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 All times are GMT-8:00
You can post new topics
You can reply to topics
You cannot edit your posts
You cannot delete your posts
You can vote in polls