org.apache.avro
Class UnresolvedUnionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.avro.AvroRuntimeException
                  extended by 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

Constructor Summary
UnresolvedUnionException(Schema unionSchema, Object unresolvedDatum)
           
 
Method Summary
 Schema getUnionSchema()
           
 Object getUnresolvedDatum()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnresolvedUnionException

public UnresolvedUnionException(Schema unionSchema,
                                Object unresolvedDatum)
Method Detail

getUnresolvedDatum

public Object getUnresolvedDatum()

getUnionSchema

public Schema getUnionSchema()


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.