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 Summary

    Modifier and Type Method Description
    java.lang.Object getKey()
    Gets key.
    <K> K getKey​(java.lang.Class<K> keyClass)
    Gets key.

    Methods inherited from class tenapull.sync.InstancesTracker.InstancesTrackerException

    getTracker

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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.ClassCastException
      Gets key.
      Type Parameters:
      K - the type parameter
      Parameters:
      keyClass - the key class
      Returns:
      the key
      Throws:
      java.lang.ClassCastException - the class cast exception