PrivMX DOCS
API Reference/PrivMX Endpoint Java Extra/Core

RegistrationResult

A result for single CallbackRegistration.

Methods

getError

Retrieves any error that occured during the registration attempt.

public Throwable getError()

Returns

Throwable · The Throwable representing the error if one occurred; otherwise, returns null indicating a successful registration.

isError

Checks if the registration attempt associated with this result encountered an error.

public boolean isError()

Returns

boolean · true if an error is present (i.e., an exception occurred), false if the registration was successful.

We use cookies on our website. We use them to ensure the proper functioning of the site and, if you agree, for purposes we set, such as analytics or marketing.