Package org.apache.ignite.internal
Class UnregisteredBinaryTypeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.ignite.IgniteException
-
- org.apache.ignite.internal.UnregisteredBinaryTypeException
-
- All Implemented Interfaces:
Serializable
public class UnregisteredBinaryTypeException extends IgniteException
Exception thrown during serialization if binary metadata isn't registered and it's registration isn't allowed. Used for both binary types and marshalling mappings. Confusing old class name is preserved for backwards compatibility.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnregisteredBinaryTypeException(int typeId, BinaryMetadata binaryMetadata)UnregisteredBinaryTypeException(int typeId, GridFutureAdapter<?> fut)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BinaryMetadatabinaryMetadata()GridFutureAdapter<?>future()inttypeId()-
Methods inherited from class org.apache.ignite.IgniteException
getCause, hasCause, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
UnregisteredBinaryTypeException
public UnregisteredBinaryTypeException(int typeId, BinaryMetadata binaryMetadata)- Parameters:
typeId- Type ID.binaryMetadata- Binary metadata.
-
UnregisteredBinaryTypeException
public UnregisteredBinaryTypeException(int typeId, GridFutureAdapter<?> fut)- Parameters:
typeId- Type ID.fut- Future to wait in handler.
-
-
Method Detail
-
typeId
public int typeId()
- Returns:
- Type ID.
-
binaryMetadata
public BinaryMetadata binaryMetadata()
- Returns:
- Binary metadata.
-
future
public GridFutureAdapter<?> future()
- Returns:
- Future to wait in handler.
-
-