<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>RETHROW EXCEPTION</title>
	<atom:link href="http://rethrowexception.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://rethrowexception.wordpress.com</link>
	<description>Computers are made of GOTCHAS</description>
	<lastBuildDate>Sat, 19 Feb 2011 13:30:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='rethrowexception.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>RETHROW EXCEPTION</title>
		<link>http://rethrowexception.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://rethrowexception.wordpress.com/osd.xml" title="RETHROW EXCEPTION" />
	<atom:link rel='hub' href='http://rethrowexception.wordpress.com/?pushpress=hub'/>
		<item>
		<title>RAILS: link_to current page</title>
		<link>http://rethrowexception.wordpress.com/2011/02/19/rails-link_to-current-page/</link>
		<comments>http://rethrowexception.wordpress.com/2011/02/19/rails-link_to-current-page/#comments</comments>
		<pubDate>Sat, 19 Feb 2011 13:26:28 +0000</pubDate>
		<dc:creator>elciok</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://rethrowexception.wordpress.com/?p=40</guid>
		<description><![CDATA[Using Rails 3. I wanted to generate a link to the current page being viewed, with some extra parameters, but couldn&#8217;t find an easy way just by browsing the docs. It turns out this is quite easy: link_to "My Link", &#8230; <a href="http://rethrowexception.wordpress.com/2011/02/19/rails-link_to-current-page/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rethrowexception.wordpress.com&amp;blog=13345152&amp;post=40&amp;subd=rethrowexception&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Using Rails 3.</p>
<p>I wanted to generate a link to the current page being viewed, with some extra parameters, but couldn&#8217;t find an easy way just by browsing the docs. It turns out this is quite easy:</p>
<pre>
    link_to "My Link", url_for(my_params)
</pre>
<p>The url_for helper fills parameters like :controller and :action using the current request information, if they are not provided in my_params.</p>
<p>Thanks to:</p>
<p><a href="http://stackoverflow.com/questions/2543576/rails-link-to-current-page-and-passing-parameters-to-it">http://stackoverflow.com/questions/2543576/rails-link-to-current-page-and-passing-parameters-to-it</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rethrowexception.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rethrowexception.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rethrowexception.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rethrowexception.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rethrowexception.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rethrowexception.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rethrowexception.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rethrowexception.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rethrowexception.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rethrowexception.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rethrowexception.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rethrowexception.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rethrowexception.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rethrowexception.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rethrowexception.wordpress.com&amp;blog=13345152&amp;post=40&amp;subd=rethrowexception&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rethrowexception.wordpress.com/2011/02/19/rails-link_to-current-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5f010b74541d33bb19241cb6a3289387?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">elciok</media:title>
		</media:content>
	</item>
		<item>
		<title>RAILS: configuring authlogic authentication gem on Rails 3</title>
		<link>http://rethrowexception.wordpress.com/2011/01/04/rails-configuring-authlogic-authentication-gem-on-rails-3/</link>
		<comments>http://rethrowexception.wordpress.com/2011/01/04/rails-configuring-authlogic-authentication-gem-on-rails-3/#comments</comments>
		<pubDate>Tue, 04 Jan 2011 17:49:57 +0000</pubDate>
		<dc:creator>elciok</dc:creator>
				<category><![CDATA[configuration]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[authlogic]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://rethrowexception.wordpress.com/?p=38</guid>
		<description><![CDATA[Using Rails 3. This is the most straightforward article on configuring authlogic on Rails 3: http://www.dixis.com/?p=352 There&#8217;s only one minor change I had to do, changing this (in ApplicationController): def store_location session[:return_to] = request.request_uri end To this: def store_location session[:return_to] &#8230; <a href="http://rethrowexception.wordpress.com/2011/01/04/rails-configuring-authlogic-authentication-gem-on-rails-3/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rethrowexception.wordpress.com&amp;blog=13345152&amp;post=38&amp;subd=rethrowexception&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Using Rails 3.<br />
This is the most straightforward article on configuring authlogic on Rails 3: <a href="http://www.dixis.com/?p=352">http://www.dixis.com/?p=352</a><br />
There&#8217;s only one minor change I had to do, changing this (in ApplicationController):</p>
<pre>
def store_location
  session[:return_to] = request.request_uri
end
</pre>
<p>To this:</p>
<pre>
def store_location
  session[:return_to] = request.fullpath
end
</pre>
<p>Thanks to:</p>
<p><a href="http://www.dixis.com/?p=352">http://www.dixis.com/?p=352</a></p>
<p><a href="http://iterat.ive.ly/index.php/2010/09/03/upgrading-your-authlogic-gem-for-rails3/">http://iterat.ive.ly/index.php/2010/09/03/upgrading-your-authlogic-gem-for-rails3/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rethrowexception.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rethrowexception.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rethrowexception.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rethrowexception.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rethrowexception.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rethrowexception.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rethrowexception.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rethrowexception.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rethrowexception.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rethrowexception.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rethrowexception.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rethrowexception.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rethrowexception.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rethrowexception.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rethrowexception.wordpress.com&amp;blog=13345152&amp;post=38&amp;subd=rethrowexception&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rethrowexception.wordpress.com/2011/01/04/rails-configuring-authlogic-authentication-gem-on-rails-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5f010b74541d33bb19241cb6a3289387?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">elciok</media:title>
		</media:content>
	</item>
		<item>
		<title>PHP and Yii FRAMEWORK: use browser locale to set application locale</title>
		<link>http://rethrowexception.wordpress.com/2010/10/16/php-and-yii-framework-use-browser-locale-to-set-application-locale/</link>
		<comments>http://rethrowexception.wordpress.com/2010/10/16/php-and-yii-framework-use-browser-locale-to-set-application-locale/#comments</comments>
		<pubDate>Sat, 16 Oct 2010 21:43:18 +0000</pubDate>
		<dc:creator>elciok</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[yii]]></category>

		<guid isPermaLink="false">http://rethrowexception.wordpress.com/?p=26</guid>
		<description><![CDATA[Using PHP 5.2.10 and Yii Framework 1.1.4 (http://www.yiiframework.com) I wanted my web application to use messages in a language depending on the locale used by the web browser. According to the HTTP specification, browsers can send headers, in a request, &#8230; <a href="http://rethrowexception.wordpress.com/2010/10/16/php-and-yii-framework-use-browser-locale-to-set-application-locale/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rethrowexception.wordpress.com&amp;blog=13345152&amp;post=26&amp;subd=rethrowexception&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Using PHP 5.2.10 and Yii Framework 1.1.4 (<a href="http://www.yiiframework.com/" target="_blank">http://www.yiiframework.com</a>)</p>
<p>I wanted my web application to use messages in a language depending on the locale used by the web browser. According to the HTTP specification, browsers can send headers, in a request, to indicate preferred language, based on the user system.</p>
<p>At first I thought the framework would take care of this for me automatically, but that&#8217;s not the case (at least until this version). So we have to write some code to accomplish this.</p>
<p>First step is writing a CBehavior to set the application language during application startup. I created a file protected/components/StartupBehavior.php containing this:</p>
<pre>
&lt;?php
class StartupBehavior extends CBehavior{
    public function attach($owner){
        $owner-&gt;attachEventHandler('onBeginRequest', array($this, 'beginRequest'));
    }

    public function beginRequest(CEvent $event){
        $language=Yii::app()-&gt;request-&gt;getPreferredLanguage();
        if ($language=='pt_br')
            $language='pt';
        Yii::app()-&gt;language=$language;
    }
}
?&gt;
</pre>
<p>As you can see, the Yii framework already has a function to get the preferred language from the request headers, so we only have to set the language property in Yii::app().</p>
<p>Since I was building this application to work mainly to be accessed from Brazil, I had to change the language to &#8216;pt&#8217; instead of &#8216;pt_br&#8217; which is the value the browser would give me. I had to do this because Yii has no default message mappings to &#8216;pt_br&#8217; (you can check the messages subdirectory in your framework installation to see if your language is already being mapped).</p>
<p>Now we need to load this CBehavior on startup. Just add the following to the array in protected/config/main.php</p>
<pre>
'behaviors'=&gt;array(
    'onbeginRequest'=&gt;array('class'=&gt;'application.components.StartupBehavior'),
),
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rethrowexception.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rethrowexception.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rethrowexception.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rethrowexception.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rethrowexception.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rethrowexception.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rethrowexception.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rethrowexception.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rethrowexception.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rethrowexception.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rethrowexception.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rethrowexception.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rethrowexception.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rethrowexception.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rethrowexception.wordpress.com&amp;blog=13345152&amp;post=26&amp;subd=rethrowexception&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rethrowexception.wordpress.com/2010/10/16/php-and-yii-framework-use-browser-locale-to-set-application-locale/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5f010b74541d33bb19241cb6a3289387?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">elciok</media:title>
		</media:content>
	</item>
		<item>
		<title>GOOGLE CHROME: onUnload event when closing popup</title>
		<link>http://rethrowexception.wordpress.com/2010/06/01/google-chrome-onunload-event-when-closing-popup/</link>
		<comments>http://rethrowexception.wordpress.com/2010/06/01/google-chrome-onunload-event-when-closing-popup/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 17:24:11 +0000</pubDate>
		<dc:creator>elciok</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[google chrome]]></category>

		<guid isPermaLink="false">http://rethrowexception.wordpress.com/?p=24</guid>
		<description><![CDATA[I&#8217;m building a Google Chrome extension and I needed to run some code when the popup that opens when the user clicks the browser action is closed. Unfortunately, the &#8220;onunload&#8221; event is never trigered in this case. Well, according to &#8230; <a href="http://rethrowexception.wordpress.com/2010/06/01/google-chrome-onunload-event-when-closing-popup/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rethrowexception.wordpress.com&amp;blog=13345152&amp;post=24&amp;subd=rethrowexception&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m building a Google Chrome extension and I needed to run some code when the popup that opens when the user clicks the browser action is closed. Unfortunately, the &#8220;onunload&#8221; event is never trigered in this case. Well, according to the Chrome Extension mail list, this seems to be a bug and there are some proposed workarounds while this is not fixed:</p>
<p>1) poll chrome.extension.getViews() (using setInterval or setTimeout) to check if the popup has closed.</p>
<p>2) Use the messaging APIs to set up a Port between the popup and background<br />
page. You then should get a onDisconnect event in the background page when<br />
the popup goes away.</p>
<p>3) Have the background dispatch events using chrome.extension.getViews() -<br />
if there is a popup in the list, you use the DOMWindow handle to call a<br />
function in the popup directly.</p>
<p>I&#8217;m currently using workaround number 2 above, proposed by Antony Sargent.</p>
<p>Thanks to:</p>
<p><a href="http://groups.google.com/a/chromium.org/group/chromium-extensions/browse_thread/thread/cc6673d8e47a9bf4/06b9ab24ff5ac7e5?#06b9ab24ff5ac7e5">http://groups.google.com/a/chromium.org/group/chromium-extensions/browse_thread/thread/cc6673d8e47a9bf4/06b9ab24ff5ac7e5?#06b9ab24ff5ac7e5</a></p>
<p><a href="http://code.google.com/p/chromium/issues/detail?id=31262">http://code.google.com/p/chromium/issues/detail?id=31262</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rethrowexception.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rethrowexception.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rethrowexception.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rethrowexception.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rethrowexception.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rethrowexception.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rethrowexception.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rethrowexception.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rethrowexception.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rethrowexception.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rethrowexception.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rethrowexception.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rethrowexception.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rethrowexception.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rethrowexception.wordpress.com&amp;blog=13345152&amp;post=24&amp;subd=rethrowexception&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rethrowexception.wordpress.com/2010/06/01/google-chrome-onunload-event-when-closing-popup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5f010b74541d33bb19241cb6a3289387?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">elciok</media:title>
		</media:content>
	</item>
		<item>
		<title>JAVASCRIPT: be notified when location hash changes</title>
		<link>http://rethrowexception.wordpress.com/2010/05/10/javascript-be-notified-when-location-hash-changes/</link>
		<comments>http://rethrowexception.wordpress.com/2010/05/10/javascript-be-notified-when-location-hash-changes/#comments</comments>
		<pubDate>Mon, 10 May 2010 22:57:46 +0000</pubDate>
		<dc:creator>elciok</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://rethrowexception.wordpress.com/?p=20</guid>
		<description><![CDATA[I have code that should be fired when the URL at the location bar on the browser changes, most specifically, when the &#8220;hash&#8221; part of the URL changes. This happens when the user clicks a &#8220;a&#8221; anchor link to the &#8230; <a href="http://rethrowexception.wordpress.com/2010/05/10/javascript-be-notified-when-location-hash-changes/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rethrowexception.wordpress.com&amp;blog=13345152&amp;post=20&amp;subd=rethrowexception&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have code that should be fired when the URL at the location bar on the browser changes, most specifically, when the &#8220;hash&#8221; part of the URL changes. This happens when the user clicks a &#8220;a&#8221; anchor link to the same page for instance. This became very popular due to techniques to ensure browser history works even when just pieces of the page gets loaded through Ajax.</p>
<p>I found out that Firefox 3.6 and Internet Explorer 8 implement an event called  &#8221;onhashchange&#8221;, following the HTML 5 specifications. If you want to target other browsers, you have to do it yourself using timers or use history management javascript libraries (that probably will use the timer strategy).</p>
<p>Thanks to:</p>
<p><a href="http://stackoverflow.com/questions/680785/on-window-location-hash-change">http://stackoverflow.com/questions/680785/on-window-location-hash-change</a></p>
<p><a href="https://developer.mozilla.org/en/DOM/window.onhashchange">https://developer.mozilla.org/en/DOM/window.onhashchange</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rethrowexception.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rethrowexception.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rethrowexception.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rethrowexception.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rethrowexception.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rethrowexception.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rethrowexception.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rethrowexception.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rethrowexception.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rethrowexception.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rethrowexception.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rethrowexception.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rethrowexception.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rethrowexception.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rethrowexception.wordpress.com&amp;blog=13345152&amp;post=20&amp;subd=rethrowexception&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rethrowexception.wordpress.com/2010/05/10/javascript-be-notified-when-location-hash-changes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5f010b74541d33bb19241cb6a3289387?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">elciok</media:title>
		</media:content>
	</item>
		<item>
		<title>JAVA: Using Java 6 instead of Java 5 in Mac OS X</title>
		<link>http://rethrowexception.wordpress.com/2010/05/08/java-using-java-6-instead-of-java-5-in-mac-os-x/</link>
		<comments>http://rethrowexception.wordpress.com/2010/05/08/java-using-java-6-instead-of-java-5-in-mac-os-x/#comments</comments>
		<pubDate>Sat, 08 May 2010 17:21:11 +0000</pubDate>
		<dc:creator>elciok</dc:creator>
				<category><![CDATA[configuration]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jdk]]></category>
		<category><![CDATA[mac os x]]></category>

		<guid isPermaLink="false">http://rethrowexception.wordpress.com/?p=16</guid>
		<description><![CDATA[Using Mac OS X 10.5.8 I was getting some UnsupportedClassVersionError when I tried running my application in Mac OS X. This error means I&#8217;m trying to use code compiled in a Java version not supported by my JVM. To check &#8230; <a href="http://rethrowexception.wordpress.com/2010/05/08/java-using-java-6-instead-of-java-5-in-mac-os-x/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rethrowexception.wordpress.com&amp;blog=13345152&amp;post=16&amp;subd=rethrowexception&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Using Mac OS X 10.5.8</p>
<p>I was getting some UnsupportedClassVersionError when I tried running my application in Mac OS X. This error means I&#8217;m trying to use code compiled in a Java version not supported by my JVM.</p>
<p>To check Java version, I used &#8220;java &#8211; version&#8221; that told me I&#8217;m using Java 1.5. My code is compiled in JDK 1.6. So I tried to find out how to upgrade my JVM version to 1.6.</p>
<p>So, I found out that Java 6 is already installed, I just needed to run this command:</p>
<pre>/Applications/Utilities/Java\ Preferences.app/Contents/MacOS/Java\ Preferences</pre>
<p>and drag Java 6 to the first position.</p>
<p>Thanks to:</p>
<p><a href="http://meus5cents.blogspot.com/2009/04/java-6-no-mac-os-x-leopard.html">http://meus5cents.blogspot.com/2009/04/java-6-no-mac-os-x-leopard.html</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rethrowexception.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rethrowexception.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rethrowexception.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rethrowexception.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rethrowexception.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rethrowexception.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rethrowexception.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rethrowexception.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rethrowexception.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rethrowexception.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rethrowexception.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rethrowexception.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rethrowexception.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rethrowexception.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rethrowexception.wordpress.com&amp;blog=13345152&amp;post=16&amp;subd=rethrowexception&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rethrowexception.wordpress.com/2010/05/08/java-using-java-6-instead-of-java-5-in-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5f010b74541d33bb19241cb6a3289387?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">elciok</media:title>
		</media:content>
	</item>
		<item>
		<title>XUL: Allowing DIV text select inside XUL controls in Firefox</title>
		<link>http://rethrowexception.wordpress.com/2010/05/03/xul-allowing-div-text-select-inside-xul-controls-in-firefox/</link>
		<comments>http://rethrowexception.wordpress.com/2010/05/03/xul-allowing-div-text-select-inside-xul-controls-in-firefox/#comments</comments>
		<pubDate>Mon, 03 May 2010 04:11:54 +0000</pubDate>
		<dc:creator>elciok</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[xul]]></category>

		<guid isPermaLink="false">http://rethrowexception.wordpress.com/?p=14</guid>
		<description><![CDATA[Needed to use a DIV tag to show some text in a Firefox extension. The problem was that Firefox extensions usually use XUL, not HTML, but we can use HTML controls and tags inside XUL. But the DIV was not &#8230; <a href="http://rethrowexception.wordpress.com/2010/05/03/xul-allowing-div-text-select-inside-xul-controls-in-firefox/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rethrowexception.wordpress.com&amp;blog=13345152&amp;post=14&amp;subd=rethrowexception&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Needed to use a DIV tag to show some text in a Firefox extension. The problem was that Firefox extensions usually use XUL, not HTML, but we can use HTML controls and tags inside XUL. But the DIV was not behaving the same way as in HTML, regarding text selection.</p>
<p>To make text selection work inside XUL, I needed to use this (Mozilla) proprietary CSS style:</p>
<pre>-moz-user-select: text;</pre>
<p>Thanks to:</p>
<p><a href="http://mattsnider.com/css/css-string-truncation-with-ellipsis/">http://mattsnider.com/css/css-string-truncation-with-ellipsis/</a></p>
<p><strong><br />
</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rethrowexception.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rethrowexception.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rethrowexception.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rethrowexception.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rethrowexception.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rethrowexception.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rethrowexception.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rethrowexception.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rethrowexception.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rethrowexception.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rethrowexception.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rethrowexception.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rethrowexception.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rethrowexception.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rethrowexception.wordpress.com&amp;blog=13345152&amp;post=14&amp;subd=rethrowexception&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rethrowexception.wordpress.com/2010/05/03/xul-allowing-div-text-select-inside-xul-controls-in-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5f010b74541d33bb19241cb6a3289387?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">elciok</media:title>
		</media:content>
	</item>
		<item>
		<title>EJABBERD: registering new account using an admin connection</title>
		<link>http://rethrowexception.wordpress.com/2010/04/27/ejabberd-registering-new-account-using-an-admin-connection/</link>
		<comments>http://rethrowexception.wordpress.com/2010/04/27/ejabberd-registering-new-account-using-an-admin-connection/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 05:03:34 +0000</pubDate>
		<dc:creator>elciok</dc:creator>
				<category><![CDATA[configuration]]></category>
		<category><![CDATA[ejabberd]]></category>
		<category><![CDATA[xmpp]]></category>

		<guid isPermaLink="false">http://rethrowexception.wordpress.com/?p=12</guid>
		<description><![CDATA[Symptom: Using ejabberd 2.1.x built from source code from Git repository. I&#8217;m connecting to an ejabberd server using Smack XMPP client library. I am able to create new accounts on the XMPP server when the connection is not logged, just &#8230; <a href="http://rethrowexception.wordpress.com/2010/04/27/ejabberd-registering-new-account-using-an-admin-connection/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rethrowexception.wordpress.com&amp;blog=13345152&amp;post=12&amp;subd=rethrowexception&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Symptom</strong>:</p>
<p>Using ejabberd 2.1.x built from source code from Git repository.</p>
<p>I&#8217;m connecting to an ejabberd server using Smack XMPP client library. I am able to create new accounts on the XMPP server when the connection is not logged, just connected to the server. If I connect using an account, like admin, and I try to register a new account, it fails causing a forbidden (403) error on the ejabberd server.</p>
<p><strong>Solution</strong>:</p>
<p>Just add the following configuration to ejabberd.cfg configuration file:</p>
<pre>%% Put this in the section ACCESS RULES
{access, register_from, [{allow, admin}]}.

%% Change mod_register so it contains the new access rule:

{mod_register, [
          {access_from, register_from},
           ...
                    ] ...
</pre>
<p><strong>Thanks to</strong>:</p>
<p><a href="http://www.ejabberd.im/node/3914">http://www.ejabberd.im/node/3914</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rethrowexception.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rethrowexception.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rethrowexception.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rethrowexception.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rethrowexception.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rethrowexception.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rethrowexception.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rethrowexception.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rethrowexception.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rethrowexception.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rethrowexception.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rethrowexception.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rethrowexception.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rethrowexception.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rethrowexception.wordpress.com&amp;blog=13345152&amp;post=12&amp;subd=rethrowexception&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rethrowexception.wordpress.com/2010/04/27/ejabberd-registering-new-account-using-an-admin-connection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5f010b74541d33bb19241cb6a3289387?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">elciok</media:title>
		</media:content>
	</item>
		<item>
		<title>GRAILS: Transaction injection doesn&#8217;t work if you declare your methods as closures</title>
		<link>http://rethrowexception.wordpress.com/2010/04/27/grails-transaction-injection-doesnt-work-if-you-declare-your-methods-as-closures/</link>
		<comments>http://rethrowexception.wordpress.com/2010/04/27/grails-transaction-injection-doesnt-work-if-you-declare-your-methods-as-closures/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 03:40:25 +0000</pubDate>
		<dc:creator>elciok</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[gorm]]></category>
		<category><![CDATA[grails]]></category>
		<category><![CDATA[groovy]]></category>

		<guid isPermaLink="false">http://rethrowexception.wordpress.com/?p=8</guid>
		<description><![CDATA[Symptoms: Using Grails 1.2.2. I created a Service and declared some methods like this: def signUp = { arg1, arg2 -&#62; //method body } This is a valid way to declare a method, where you simply assign a closure to &#8230; <a href="http://rethrowexception.wordpress.com/2010/04/27/grails-transaction-injection-doesnt-work-if-you-declare-your-methods-as-closures/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rethrowexception.wordpress.com&amp;blog=13345152&amp;post=8&amp;subd=rethrowexception&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Symptoms</strong>:</p>
<p>Using Grails 1.2.2.</p>
<p>I created a Service and declared some methods like this:</p>
<pre>def signUp = { arg1, arg2 -&gt;
    //method body
}</pre>
<p>This is a valid way to declare a method, where you simply assign a closure to class member variable, and it works the same way as a method declared the usual Java way.</p>
<p>To enable transactionsupport in my Service, all I have to do is add this line to the class:</p>
<pre>boolean transactional = true</pre>
<p>And it should work. The problem is: it didn&#8217;t work.</p>
<p><strong>Solution</strong>:</p>
<p>What is wrong with the code above is that methods declared using closures don&#8217;t get the transactional behavior injected. I just changed it to this:</p>
<pre>def signUp(arg1, arg2){
    //method body here
}</pre>
<p>I could not find anything telling me that the closure declaration shouldn&#8217;t work, so I just assumed it would work, since Grails and Groovy developers have implemented some pretty smart default behavior for other features. Also, I was using the closure syntax a lot, because the books and articles I was reading use it a lot.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rethrowexception.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rethrowexception.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rethrowexception.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rethrowexception.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rethrowexception.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rethrowexception.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rethrowexception.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rethrowexception.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rethrowexception.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rethrowexception.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rethrowexception.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rethrowexception.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rethrowexception.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rethrowexception.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rethrowexception.wordpress.com&amp;blog=13345152&amp;post=8&amp;subd=rethrowexception&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rethrowexception.wordpress.com/2010/04/27/grails-transaction-injection-doesnt-work-if-you-declare-your-methods-as-closures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5f010b74541d33bb19241cb6a3289387?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">elciok</media:title>
		</media:content>
	</item>
		<item>
		<title>GORM: default behaviour is not to throw Exception when save() fails</title>
		<link>http://rethrowexception.wordpress.com/2010/04/27/gorm-default-behaviour-is-not-to-throw-exception-when-save-fails/</link>
		<comments>http://rethrowexception.wordpress.com/2010/04/27/gorm-default-behaviour-is-not-to-throw-exception-when-save-fails/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 03:04:39 +0000</pubDate>
		<dc:creator>elciok</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[gorm]]></category>
		<category><![CDATA[grails]]></category>
		<category><![CDATA[groovy]]></category>

		<guid isPermaLink="false">http://rethrowexception.wordpress.com/?p=3</guid>
		<description><![CDATA[Symptoms: I was using Grails 1.1.1 and could not understand why my application was not throwing an Exception when I was inserting a record that clearly was violating some constraints (like unique indexes). I checked to see if the record &#8230; <a href="http://rethrowexception.wordpress.com/2010/04/27/gorm-default-behaviour-is-not-to-throw-exception-when-save-fails/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rethrowexception.wordpress.com&amp;blog=13345152&amp;post=3&amp;subd=rethrowexception&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Symptoms</strong>:</p>
<p>I was using Grails 1.1.1 and could not understand why my application was not throwing an Exception when I was inserting a record that clearly was violating some constraints (like unique indexes). I checked to see if the record was created, and it wasn’t, as expected. So, the problem was that GORM was not throwing an Exception when something goes wrong with the save() method call.</p>
<p><strong>Solution</strong>:</p>
<p>I found out that not throwing an Exception in save() is the default behavior in GORM. But there is a parameter you can set to true on the save method called “failOnError”.</p>
<p><em>myDomainObject.save(failOnError:true)</em></p>
<p>But to make this work I needed to upgrade my Grails to the latest version, currently 1.2.2. Then it worked!</p>
<p>You can also change this default behavior putting the following setting in Config.groovy:</p>
<p><code>grails.gorm.failOnError=true</code></p>
<p><strong>Thanks to</strong>:</p>
<p><a href="http://www.brentbaxter.com/2010/03/10/grails-tip-using-failonerror-when-saving-domain-instances/">http://www.brentbaxter.com/2010/03/10/grails-tip-using-failonerror-when-saving-domain-instances/</a></p>
<p><a href="http://jira.codehaus.org/browse/GRAILS-4984">http://jira.codehaus.org/browse/GRAILS-4984</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rethrowexception.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rethrowexception.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rethrowexception.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rethrowexception.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rethrowexception.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rethrowexception.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rethrowexception.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rethrowexception.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rethrowexception.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rethrowexception.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rethrowexception.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rethrowexception.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rethrowexception.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rethrowexception.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rethrowexception.wordpress.com&amp;blog=13345152&amp;post=3&amp;subd=rethrowexception&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rethrowexception.wordpress.com/2010/04/27/gorm-default-behaviour-is-not-to-throw-exception-when-save-fails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5f010b74541d33bb19241cb6a3289387?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">elciok</media:title>
		</media:content>
	</item>
	</channel>
</rss>
