org.apache.avro
Class UnresolvedUnionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.avro.AvroRuntimeException
org.apache.avro.UnresolvedUnionException
- All Implemented Interfaces:
- Serializable
public class UnresolvedUnionException
- extends AvroRuntimeException
Thrown when the expected contents of a union cannot be resolved.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
UnresolvedUnionException
public UnresolvedUnionException(Schema unionSchema,
Object unresolvedDatum)
getUnresolvedDatum
public Object getUnresolvedDatum()
getUnionSchema
public Schema getUnionSchema()
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.