Class RelationAlreadyPresentException
- 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.relations.RelationAlreadyPresentException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConsistsOfAlreadyPresentException,IsParentOfAlreadyPresentException,IsRelatedToAlreadyPresentException
public class RelationAlreadyPresentException extends AlreadyPresentException
The Class RelationAlreadyPresentException.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RelationAlreadyPresentException(String message)Instantiates a new relation already present exception.RelationAlreadyPresentException(String message, Throwable cause)Instantiates a new relation already present exception.RelationAlreadyPresentException(Throwable cause)Instantiates a new relation already present exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RelationAlreadyPresentException
public RelationAlreadyPresentException(String message)
Instantiates a new relation already present exception.- Parameters:
message- the message
-
RelationAlreadyPresentException
public RelationAlreadyPresentException(Throwable cause)
Instantiates a new relation already present exception.- Parameters:
cause- the cause
-
-