package com.flurry.org.apache.avro;

/* loaded from: /storage/emulated/0/Documents/jadec/sources/com.UBI.A90.WW/dex-files/0.dex */
public class UnresolvedUnionException extends AvroRuntimeException {
    private Schema unionSchema;
    private Object unresolvedDatum;

    public UnresolvedUnionException(Schema unionSchema, Object unresolvedDatum) {
        super("Not in union " + unionSchema + ": " + unresolvedDatum);
        this.unionSchema = unionSchema;
        this.unresolvedDatum = unresolvedDatum;
    }

    public Object getUnresolvedDatum() {
        return this.unresolvedDatum;
    }

    public Schema getUnionSchema() {
        return this.unionSchema;
    }
}
