How can I throw error in onNext() with RxJava
<pre><code>.subscribe(
    new Action1&lt;Response&gt;() {
        @Override
        public void call(Response response) {
            if (response.isSuccess())
            //handle success
            else
            //throw an Throwable(reponse.getMessage())
        }
    },
    new Action1&lt;Throwable&gt;() {
        @Override
        public void call(Throwable throwable) {
            //handle Throwable throw from onNext();
        }
    }
);
</code></pre>

<p>I don't wanna handle <code>(!response.isSuccess())</code> in <code>onNext()</code>. How can I throw it to <code>onError()</code> and handle with other throwable together?</p>