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 theThrowable
with a custom message and wraps it before it is to be re-thrown as anUnsubscribeFailedException
.UnsubscribeFailedException
(Throwable throwable) Wraps theThrowable
before 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 theThrowable
before it is to be re-thrown as anOnErrorFailedException
.- Parameters:
throwable
- theThrowable
to re-throw; if null, a NullPointerException is constructed
-
UnsubscribeFailedException
Customizes theThrowable
with a custom message and wraps it before it is to be re-thrown as anUnsubscribeFailedException
.- Parameters:
message
- the message to assign to theThrowable
to re-throwthrowable
- theThrowable
to re-throw; if null, a NullPointerException is constructed
-