Package org.apache.avro.specific
Class SpecificExceptionBase
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.avro.AvroRemoteException
org.apache.avro.specific.SpecificExceptionBase
- All Implemented Interfaces:
Externalizable
,Serializable
,GenericContainer
,IndexedRecord
,SpecificRecord
public abstract class SpecificExceptionBase
extends AvroRemoteException
implements SpecificRecord, Externalizable
Base class for specific exceptions.
- See Also:
-
Constructor Summary
ConstructorDescriptionSpecificExceptionBase
(Object value) SpecificExceptionBase
(Object value, Throwable cause) SpecificExceptionBase
(Throwable value) -
Method Summary
Methods inherited from class org.apache.avro.AvroRemoteException
getValue
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SpecificExceptionBase
public SpecificExceptionBase() -
SpecificExceptionBase
-
SpecificExceptionBase
-
SpecificExceptionBase
-
-
Method Details
-
getSchema
Description copied from interface:GenericContainer
The schema of this instance.- Specified by:
getSchema
in interfaceGenericContainer
-
get
Description copied from interface:IndexedRecord
Return the value of a field given its position in the schema.This method is not meant to be called by user code, but only by
DatumWriter
implementations.- Specified by:
get
in interfaceIndexedRecord
-
put
Description copied from interface:IndexedRecord
Set the value of a field given its position in the schema.This method is not meant to be called by user code, but only by
DatumReader
implementations.- Specified by:
put
in interfaceIndexedRecord
-
equals
-
hashCode
public int hashCode() -
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
-
getSpecificData
-