org.apache.avro.specific
Class SpecificExceptionBase
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.avro.ipc.AvroRemoteException
org.apache.avro.specific.SpecificExceptionBase
- All Implemented Interfaces:
- Serializable, GenericContainer, IndexedRecord, SpecificRecord
public abstract class SpecificExceptionBase
- extends AvroRemoteException
- implements SpecificRecord
Base class for specific exceptions.
- See Also:
- Serialized Form
Method Summary |
boolean |
equals(Object that)
|
abstract Object |
get(int field)
Return the value of a field given its position in the schema. |
abstract Schema |
getSchema()
The schema of this instance. |
int |
hashCode()
|
abstract void |
put(int field,
Object value)
Set the value of a field given its position in the schema. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
SpecificExceptionBase
public SpecificExceptionBase()
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)
- Description copied from interface:
IndexedRecord
- Return the value of a field given its position in the schema.
- Specified by:
get
in interface IndexedRecord
put
public abstract void put(int field,
Object value)
- Description copied from interface:
IndexedRecord
- Set the value of a field given its position in the schema.
- Specified by:
put
in interface IndexedRecord
equals
public boolean equals(Object that)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2010 The Apache Software Foundation