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
ConstructorsConstructorDescriptionSpecificExceptionBase(Object value) SpecificExceptionBase(Object value, Throwable cause) SpecificExceptionBase(Throwable value) -
Method Summary
Methods inherited from class org.apache.avro.AvroRemoteException
getValueMethods 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:GenericContainerThe schema of this instance.- Specified by:
getSchemain interfaceGenericContainer
-
get
Description copied from interface:IndexedRecordReturn 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
DatumWriterimplementations.- Specified by:
getin interfaceIndexedRecord
-
put
Description copied from interface:IndexedRecordSet 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
DatumReaderimplementations.- Specified by:
putin interfaceIndexedRecord
-
equals
-
hashCode
public int hashCode() -
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOException
-
getSpecificData
-