org.signal.libsignal.messagebackup.ValidationError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of libsignal-client Show documentation
Show all versions of libsignal-client Show documentation
Signal Protocol cryptography library for Java
//
// Copyright 2024 Signal Messenger, LLC.
// SPDX-License-Identifier: AGPL-3.0-only
//
package org.signal.libsignal.messagebackup;
/**
* Error from validating a message backup bundle.
*
* {@link Throwable#getMessage} returns the validation error message.
*/
public class ValidationError extends Exception {
/** Contains messages about unknown fields found while parsing. */
public String[] unknownFieldMessages;
ValidationError(String message, String[] unknownFields) {
super(message);
this.unknownFieldMessages = unknownFields;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy