Package tenapull.sync
Class InstancesTracker.NullInstanceArgument
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
tenapull.sync.InstancesTracker.InstancesTrackerException
tenapull.sync.InstancesTracker.NullInstanceArgument
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- InstancesTracker<K,I>
public static class InstancesTracker.NullInstanceArgument extends InstancesTracker.InstancesTrackerException
Thrown when a null instance is passed to put or putWithLock
- See Also:
- Serialized Form
-
Method Details
-
getKey
public java.lang.Object getKey()Gets key.- Returns:
- the key
-
getKey
public <K> K getKey(java.lang.Class<K> keyClass) throws java.lang.ClassCastExceptionGets key.- Type Parameters:
K
- the type parameter- Parameters:
keyClass
- the key class- Returns:
- the key
- Throws:
java.lang.ClassCastException
- the class cast exception
-