Class ObjectNotExistException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- es.bsc.dataclay.exceptions.DataClayException
-
- es.bsc.dataclay.exceptions.dataservice.ObjectNotExistException
-
- All Implemented Interfaces:
DataClaySerializable
,Serializable
public class ObjectNotExistException extends DataClayException
This class represents the exceptions produced in DataService module when you look for an ObjectData that does not exist in the database.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ObjectNotExistException(long objectID)
This exception is produced when a object with ID provided does not existObjectNotExistException(ObjectID objectID)
This exception is produced when a object with ID provided 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
-
ObjectNotExistException
public ObjectNotExistException(ObjectID objectID)
This exception is produced when a object with ID provided does not exist- Parameters:
objectID
- ID of the object
-
ObjectNotExistException
public ObjectNotExistException(long objectID)
This exception is produced when a object with ID provided does not exist- Parameters:
objectID
- ID of the object
-
-