title: Only catch exceptions of a specific type in RxJava 2
body: <p>I'm just learning RxJava 2 and I would like catch exceptions only of a specific type and return an Observable.  Essentially, I want <code>onErrorResumeNext()</code> to only catch a specific exception class, but it looks like she doesn't work that way.</p>
  
  <p>What are my options for achieving this behavior in RxJava 2?  Just use <code>onErrorResumeNext()</code>, handle my specific exception and rethrow the others?  Something like:</p>
  
  <pre><code>.onErrorResumeNext(throwable -&gt; throwable instanceof NotFoundException ? Observable.empty() : Observable.error(throwable));
  </code></pre>