org.apache.avro.specific
Class SpecificExceptionBase

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.apache.avro.ipc.AvroRemoteException
                  extended by org.apache.avro.specific.SpecificExceptionBase
All Implemented Interfaces:
Serializable, GenericContainer, SpecificRecord

public abstract class SpecificExceptionBase
extends AvroRemoteException
implements SpecificRecord

Base class for specific exceptions.

See Also:
Serialized Form

Constructor Summary
SpecificExceptionBase()
           
 
Method Summary
 boolean equals(Object o)
           
abstract  Object get(int field)
           
abstract  Schema getSchema()
          The schema of this instance.
 int hashCode()
           
abstract  void set(int field, Object value)
           
 
Methods inherited from class org.apache.avro.ipc.AvroRemoteException
getValue
 
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, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpecificExceptionBase

public SpecificExceptionBase()
Method Detail

getSchema

public abstract Schema getSchema()
Description copied from interface: GenericContainer
The schema of this instance.

Specified by:
getSchema in interface GenericContainer

get

public abstract Object get(int field)
Specified by:
get in interface SpecificRecord

set

public abstract void set(int field,
                         Object value)
Specified by:
set in interface SpecificRecord

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2009 The Apache Software Foundation