title: Exception handling within a constructor
body: <p>Can you use a <code>throw</code> or <code>try-catch</code> within a constructor?<br>
  If so, what is the purpose of having a constructor that has an argument that can throw an exception?</p>
  
  <p>This constructor is an example:</p>
  
  <pre><code>public Chat()
  {
      chatClient = new Client(Configuration.LoginEmail, Configuration.LoginPassword);
      chatRoom = chatClient.JoinRoom(Configuration.RoomUrl);
  }
  </code></pre>
  
  <p>The line <code>chatRoom = chatClient.JoinRoom(Configuration.RoomUrl);</code> can throw exceptions.</p>