All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ContextNotFoundException, EntityNotFoundException, QueryTemplateNotFoundException, RelationNotFoundException, SchemaNotFoundException

public class NotFoundException extends ResourceRegistryException
Base exception for "the requested element does not exist" error conditions across every collection (Context, Type, Instance, Query Template) — specialized per collection (e.g. ContextNotFoundException), and also thrown directly as a generic fallback. Mapped to 404 Not Found by the REST layer.
Author:
Luca Frosini (ISTI - CNR)
See Also:
  • Constructor Details

    • NotFoundException

      public NotFoundException(String message)
      Instantiates a new not found exception.
      Parameters:
      message - the message
    • NotFoundException

      public NotFoundException(Throwable cause)
      Instantiates a new not found exception.
      Parameters:
      cause - the cause
    • NotFoundException

      public NotFoundException(String message, Throwable cause)
      Instantiates a new not found exception.
      Parameters:
      message - the message
      cause - the cause