<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>onlinepadhai.com &#187; Uncategorized</title>
	<atom:link href="http://www.onlinepadhai.com/category/uncategorized/feed" rel="self" type="application/rss+xml" />
	<link>http://www.onlinepadhai.com</link>
	<description></description>
	<lastBuildDate>Thu, 20 Jan 2011 10:38:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>What is the difference throw and throws?</title>
		<link>http://www.onlinepadhai.com/what-is-the-difference-throw-and-throws</link>
		<comments>http://www.onlinepadhai.com/what-is-the-difference-throw-and-throws#comments</comments>
		<pubDate>Thu, 26 Nov 2009 12:17:08 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://onlinepadhai.com/?p=800</guid>
		<description><![CDATA[throws: Used in a method&#8217;s signature if a method is capable of causing an exception that it does not handle, so that callers of the method can guard themselves against that exception. If a method is declared as throwing a particular class of exceptions, then any other method that calls it must either have a]]></description>
			<content:encoded><![CDATA[<p><strong><span style="text-decoration: underline">throws:</span></strong> Used in a method&#8217;s signature if a method is capable of causing an exception that it does not handle, so that callers of the method can guard themselves against that exception. If a method is declared as throwing a particular class of exceptions, then any other method that calls it must either have a try-catch clause to handle that exception or must be declared to throw that exception (or its superclass) itself.</p>
<p>A method that does not handle an exception it throws has to announce this:</p>
<blockquote><p>public void myfunc(int arg) <strong>throws</strong> MyException {<br />
        …<br />
    }</p></blockquote>
<p><strong><span style="text-decoration: underline">throw:</span></strong> Used to trigger an exception. The exception will be caught by the nearest try-catch clause that can catch that type of exception. The flow of execution stops immediately after the throw statement; any subsequent statements are not executed.</p>
<p>To throw an user-defined exception within a block, we use the throw command:</p>
<blockquote><p><strong> throw </strong>new MyException(&#8220;I always wanted to throw an exception!&#8221;);</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.onlinepadhai.com/what-is-the-difference-throw-and-throws/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What are the different types of JSP tags?</title>
		<link>http://www.onlinepadhai.com/what-are-the-different-types-of-jsp-tags</link>
		<comments>http://www.onlinepadhai.com/what-are-the-different-types-of-jsp-tags#comments</comments>
		<pubDate>Thu, 26 Nov 2009 12:15:20 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://onlinepadhai.com/?p=910</guid>
		<description><![CDATA[The different types of JSP tags are as follows:]]></description>
			<content:encoded><![CDATA[<p>The different types of JSP tags are as follows:</p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlinepadhai.com/what-are-the-different-types-of-jsp-tags/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

