public static final class RegistrationResponse.Failure extends RegistrationResponse
A failure indicates a temporary problem which can be solved by retrying the connection
attempt. That's why the
RetryingRegistration will retry the registration with the
target upon receiving a
RegistrationResponse.Failure response. Consequently, the target should answer with
RegistrationResponse.Failure if a temporary failure has occurred.
|Constructor and Description|
Creates a new failure message.
|Modifier and Type||Method and Description|
Gets the reason for the failure.
public Failure(Throwable reason)
reason- The reason for the failure.
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.