-
- All Implemented Interfaces:
-
java.io.Serializable
public final class UnsubscribeFailedException extends RuntimeException
-
-
Constructor Summary
Constructors Constructor Description UnsubscribeFailedException(Throwable throwable)
Wraps the {@code Throwable}
before it is to be re-thrown as an{@code OnErrorFailedException}
.UnsubscribeFailedException(String message, Throwable throwable)
Customizes the {@code Throwable}
with a custom message and wraps it before it is to be re-thrown as an{@code UnsubscribeFailedException}
.
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
UnsubscribeFailedException
UnsubscribeFailedException(Throwable throwable)
Wraps the{@code Throwable}
before it is to be re-thrown as an{@code OnErrorFailedException}
.- Parameters:
throwable
- the{@code Throwable}
to re-throw; if null, a NullPointerException is constructed
-
UnsubscribeFailedException
UnsubscribeFailedException(String message, Throwable throwable)
Customizes the{@code Throwable}
with a custom message and wraps it before it is to be re-thrown as an{@code UnsubscribeFailedException}
.- Parameters:
message
- the message to assign to the{@code Throwable}
to re-throwthrowable
- the{@code Throwable}
to re-throw; if null, a NullPointerException is constructed
-
-
-
-