java.lang.Object
java.lang.Throwable
java.lang.Exception
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.instances.relations.isparentof.IsParentOfException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IsParentOfCreationException

public class IsParentOfException extends ResourceRegistryException
Base exception for the internal IsParentOf Context-hierarchy edge. That edge was removed from the public model and superseded by the internal ChildOf edge (child → parent) during the security-roles-and-api-reorganization migration (see roadmap steps 1.8-1.10); this class and its subclasses are retained for backward wire compatibility but are not observed to be thrown by the current server implementation. Mapped to 400 Bad Request by the REST layer.
Author:
Luca Frosini (ISTI - CNR)
See Also:
  • Constructor Details

    • IsParentOfException

      public IsParentOfException(String message)
      Instantiates a new checks if is parent of exception.
      Parameters:
      message - the message
    • IsParentOfException

      public IsParentOfException(Throwable cause)
      Instantiates a new checks if is parent of exception.
      Parameters:
      cause - the cause
    • IsParentOfException

      public IsParentOfException(String message, Throwable cause)
      Instantiates a new checks if is parent of exception.
      Parameters:
      message - the message
      cause - the cause