Skip to content

Instantly share code, notes, and snippets.

View xcolwell's full-sized avatar

Brien Colwell xcolwell

View GitHub Profile

Keybase proof

I hereby claim:

  • I am xcolwell on github.
  • I am xcolwell (https://keybase.io/xcolwell) on keybase.
  • I have a public key ASB-Zyr2f_0-Atf8vsoUOwi-hjS3hrx6n7k5Tiuk6USlcwo

To claim this, I am signing this object:

public void testExceptionSubjectObserverCustomThrow() {
// setup:
// subject -> observer
// shows that an exception in observer#onNext will call observer#onError,
// and that an unahndled exception in observer#onError will come back to the caller
BehaviorSubject<Integer> subject = BehaviorSubject.create();