Class InstanceNotFoundException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ViewNotFoundException

public class InstanceNotFoundException extends InstanceException
Signals that the requested operation failed because no instance with the specified identifier could be found.
See Also:
  • Constructor Details

    • InstanceNotFoundException

      public InstanceNotFoundException(Object key, String className)
      Creates an InstanceNotFoundException specifying the key and the class name of the instance that could not be found.
      Parameters:
      key - the key of the instance that could not be found.
      className - the class name of the instance that could not be found.
    • InstanceNotFoundException

      public InstanceNotFoundException(Object key, Class clazz)
      Creates an InstanceNotFoundException specifying the key and the class of the instance that could not be found.
      Parameters:
      key - the key of the instance that could not be found.
      clazz - the class of the instance that could not be found.