Class ObjectNotRegisteredException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- es.bsc.dataclay.exceptions.DataClayException
-
- es.bsc.dataclay.exceptions.metadataservice.ObjectNotRegisteredException
-
- All Implemented Interfaces:
DataClaySerializable
,Serializable
public class ObjectNotRegisteredException extends DataClayException
This class represents the exceptions produced in MetaDataService module when some object specified is not registered.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ObjectNotRegisteredException(ObjectID objectID)
This exception is produced when some object is not registeredObjectNotRegisteredException(String alias)
This exception is produced when asking for an object with specific alias and it does not exist.
-
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
-
ObjectNotRegisteredException
public ObjectNotRegisteredException(ObjectID objectID)
This exception is produced when some object is not registered- Parameters:
objectID
- ID of the object requested
-
ObjectNotRegisteredException
public ObjectNotRegisteredException(String alias)
This exception is produced when asking for an object with specific alias and it does not exist.- Parameters:
alias
- alias of the object requested
-
-