Mortgage Declined by Underwriter?

You went through the entire rigorous process of applying for a mortgage and providing painfully detailed information, only to find out that your application has been rejected. Now what?