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
Would signal that an
IsParentOf edge already exists between two Contexts.
See IsParentOfException
for why this is not observed to be thrown by the current server implementation.
Mapped to 409 Conflict by the REST layer.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIsParentOfAlreadyPresentException(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.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, withResponseMetadataMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IsParentOfAlreadyPresentException
Instantiates a new checks if is parent of already present exception.- Parameters:
message- the message
-
IsParentOfAlreadyPresentException
Instantiates a new checks if is parent of already present exception.- Parameters:
cause- the cause
-
IsParentOfAlreadyPresentException
Instantiates a new checks if is parent of already present exception.- Parameters:
message- the messagecause- the cause
-