Class OnSubscribeThrow<T>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Throwable exception  
    • Constructor Summary

      Constructors 
      Constructor Description
      OnSubscribeThrow​(java.lang.Throwable exception)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void call​(Subscriber<? super T> observer)
      Accepts an Observer and calls its onError method.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • exception

        private final java.lang.Throwable exception
    • Constructor Detail

      • OnSubscribeThrow

        public OnSubscribeThrow​(java.lang.Throwable exception)