What's with this exception handling...