Package rx.exceptions
Class UnsubscribeFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
rx.exceptions.UnsubscribeFailedException
- All Implemented Interfaces:
Serializable
Represents an exception used to re-throw errors thrown from
Subscriber.unsubscribe().- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUnsubscribeFailedException(String message, Throwable throwable) Customizes theThrowablewith a custom message and wraps it before it is to be re-thrown as anUnsubscribeFailedException.UnsubscribeFailedException(Throwable throwable) Wraps theThrowablebefore it is to be re-thrown as anOnErrorFailedException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
UnsubscribeFailedException
Wraps theThrowablebefore it is to be re-thrown as anOnErrorFailedException.- Parameters:
throwable- theThrowableto re-throw; if null, a NullPointerException is constructed
-
UnsubscribeFailedException
Customizes theThrowablewith a custom message and wraps it before it is to be re-thrown as anUnsubscribeFailedException.- Parameters:
message- the message to assign to theThrowableto re-throwthrowable- theThrowableto re-throw; if null, a NullPointerException is constructed
-