Class IsParentOfAlreadyPresentException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
-
- org.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresentException
-
- org.gcube.informationsystem.resourceregistry.api.exceptions.instances.relations.RelationAlreadyPresentException
-
- org.gcube.informationsystem.resourceregistry.api.exceptions.instances.relations.isparentof.IsParentOfAlreadyPresentException
-
- All Implemented Interfaces:
Serializable
public class IsParentOfAlreadyPresentException extends RelationAlreadyPresentException
Would signal that anIsParentOfedge already exists between two Contexts. SeeIsParentOfExceptionfor why this is not observed to be thrown by the current server implementation. Mapped to409 Conflictby the REST layer.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IsParentOfAlreadyPresentException(String message)Instantiates a new checks if is parent of already present exception.IsParentOfAlreadyPresentException(String message, Throwable cause)Instantiates a new checks if is parent of already present exception.IsParentOfAlreadyPresentException(Throwable cause)Instantiates a new checks if is parent of already present exception.
-
Method Summary
-
Methods inherited from class org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
getResponseMetadata, withResponseMetadata
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
IsParentOfAlreadyPresentException
public IsParentOfAlreadyPresentException(String message)
Instantiates a new checks if is parent of already present exception.- Parameters:
message- the message
-
IsParentOfAlreadyPresentException
public IsParentOfAlreadyPresentException(Throwable cause)
Instantiates a new checks if is parent of already present exception.- Parameters:
cause- the cause
-
-