Class ObjectAlreadyRegisteredException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- es.bsc.dataclay.exceptions.DataClayException
-
- es.bsc.dataclay.exceptions.metadataservice.ObjectAlreadyRegisteredException
-
- All Implemented Interfaces:
DataClaySerializable
,Serializable
public class ObjectAlreadyRegisteredException extends DataClayException
This class represents the exceptions produced in MetaDataService module when some object specified is already registered.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ObjectAlreadyRegisteredException(MetaClassID classID, String alias)
This exception is produced when some object is already registeredObjectAlreadyRegisteredException(ObjectID objectID)
This exception is produced when some object is already registered
-
Method Summary
-
Methods inherited from class es.bsc.dataclay.exceptions.DataClayException
asGrpcException, deserialize, equals, getErrorcode, getLocalizedMessage, hashCode, printStackTrace, serialize, setErrorCode, setExceptionMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ObjectAlreadyRegisteredException
public ObjectAlreadyRegisteredException(ObjectID objectID)
This exception is produced when some object is already registered- Parameters:
objectID
- ID of the object
-
ObjectAlreadyRegisteredException
public ObjectAlreadyRegisteredException(MetaClassID classID, String alias)
This exception is produced when some object is already registered- Parameters:
alias
- Alias of the objectclassID
- Class ID of the object
-
-