title: Swift 2 : Try/Catch a non-throwing function
body: <p>I'm refactoring a Obj-c class where there was a <code>@try/@catch</code> block around <code>removeObserver:</code>. </p>
  
  <p>Doing the same thing in swift triggers a warning since <code>removeObserver</code> might fail (when there is no observer) but it doesn't throw any errors. </p>
  
  <p>Any idea how I could achieve the same behaviour ?  </p>
  
  <p>edit : My code : </p>
  
  <pre><code>try {  
      self.removeObserver(self, forKeyPath: "LineDisplayChanged")
  }
  </code></pre>