<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: An Introduction to Exception Handling in Apex</title>
	<atom:link href="http://gokubi.com/archives/an-introduction-to-exception-handling-in-apex/feed" rel="self" type="application/rss+xml" />
	<link>http://gokubi.com/archives/an-introduction-to-exception-handling-in-apex</link>
	<description></description>
	<lastBuildDate>Tue, 29 Nov 2011 19:15:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Steve</title>
		<link>http://gokubi.com/archives/an-introduction-to-exception-handling-in-apex/comment-page-1#comment-206598</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Thu, 28 Jan 2010 18:14:28 +0000</pubDate>
		<guid isPermaLink="false">http://gokubi.com/?p=1095#comment-206598</guid>
		<description>Glad you liked it Luke! Yep, I think that&#039;s the best way to deal with governor limits.</description>
		<content:encoded><![CDATA[<p>Glad you liked it Luke! Yep, I think that&#8217;s the best way to deal with governor limits.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke C</title>
		<link>http://gokubi.com/archives/an-introduction-to-exception-handling-in-apex/comment-page-1#comment-206597</link>
		<dc:creator>Luke C</dc:creator>
		<pubDate>Thu, 28 Jan 2010 18:10:32 +0000</pubDate>
		<guid isPermaLink="false">http://gokubi.com/?p=1095#comment-206597</guid>
		<description>This is a fantastic article! Since Apex is my first programming language, exception handling is conceptually new to me and I had not figured out how and when to take advantage of database methods versus DMLs. This will allow much greater sophistication in my code!

Regarding Governor Limits, although there&#039;s no elegant way of recovery is possible, in one app I calculated how may DMLs and SOQL queries a given process would take and if it exceeded limits, halted execution, sending myself an email with the details so an alternate method could be arranged.</description>
		<content:encoded><![CDATA[<p>This is a fantastic article! Since Apex is my first programming language, exception handling is conceptually new to me and I had not figured out how and when to take advantage of database methods versus DMLs. This will allow much greater sophistication in my code!</p>
<p>Regarding Governor Limits, although there&#8217;s no elegant way of recovery is possible, in one app I calculated how may DMLs and SOQL queries a given process would take and if it exceeded limits, halted execution, sending myself an email with the details so an alternate method could be arranged.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://gokubi.com/archives/an-introduction-to-exception-handling-in-apex/comment-page-1#comment-205402</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 20 Jan 2010 14:09:41 +0000</pubDate>
		<guid isPermaLink="false">http://gokubi.com/?p=1095#comment-205402</guid>
		<description>Thanks Gary! Good advice.</description>
		<content:encoded><![CDATA[<p>Thanks Gary! Good advice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary B</title>
		<link>http://gokubi.com/archives/an-introduction-to-exception-handling-in-apex/comment-page-1#comment-205401</link>
		<dc:creator>Gary B</dc:creator>
		<pubDate>Wed, 20 Jan 2010 14:08:29 +0000</pubDate>
		<guid isPermaLink="false">http://gokubi.com/?p=1095#comment-205401</guid>
		<description>I&#039;ve done some heavy duty coding for my current project, and during test there have been several points in my code where I wish I&#039;d used exceptions, or points where I intended to put exceptions in but didn&#039;t get round to it.

My advice - start doing it as soon as you start writing your code! It&#039;s not difficult nor time consuming, and allows for much neater and cleaner solutions. For some reason, I thought exceptions were something to do after you&#039;d written your code to try and mop up awkward situations or errors, but in fact they&#039;re a useful tool to use throughout development.

That&#039;s not just applicable to Salesforce either :)</description>
		<content:encoded><![CDATA[<p>I&#8217;ve done some heavy duty coding for my current project, and during test there have been several points in my code where I wish I&#8217;d used exceptions, or points where I intended to put exceptions in but didn&#8217;t get round to it.</p>
<p>My advice &#8211; start doing it as soon as you start writing your code! It&#8217;s not difficult nor time consuming, and allows for much neater and cleaner solutions. For some reason, I thought exceptions were something to do after you&#8217;d written your code to try and mop up awkward situations or errors, but in fact they&#8217;re a useful tool to use throughout development.</p>
<p>That&#8217;s not just applicable to Salesforce either <img src='http://gokubi.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://gokubi.com/archives/an-introduction-to-exception-handling-in-apex/comment-page-1#comment-204282</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Tue, 12 Jan 2010 18:00:25 +0000</pubDate>
		<guid isPermaLink="false">http://gokubi.com/?p=1095#comment-204282</guid>
		<description>I&#039;m pretty sure partial processing will let you do the post-commit processing we talked about--write to a custom object, post to a web service, send an email. By using partial processing in DMLs, you don&#039;t actually throw exceptions, and you don&#039;t get automatic rollback, but you do get to continue on in the processing stack as long as your DML is well formed.</description>
		<content:encoded><![CDATA[<p>I&#8217;m pretty sure partial processing will let you do the post-commit processing we talked about&#8211;write to a custom object, post to a web service, send an email. By using partial processing in DMLs, you don&#8217;t actually throw exceptions, and you don&#8217;t get automatic rollback, but you do get to continue on in the processing stack as long as your DML is well formed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://gokubi.com/archives/an-introduction-to-exception-handling-in-apex/comment-page-1#comment-204281</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Tue, 12 Jan 2010 17:55:43 +0000</pubDate>
		<guid isPermaLink="false">http://gokubi.com/?p=1095#comment-204281</guid>
		<description>Very nice. Was the partial processing piece able to help with troubles you were encountering we discussed in the developer meeting.

I guess it would only help with DML errors but thats better than nothing I suppose.</description>
		<content:encoded><![CDATA[<p>Very nice. Was the partial processing piece able to help with troubles you were encountering we discussed in the developer meeting.</p>
<p>I guess it would only help with DML errors but thats better than nothing I suppose.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

