Example #1
0
 public EntityNotFoundException(EntityType entityType, long entityId) : base(org.neo4j.kernel.api.exceptions.Status_Statement.EntityNotFound, "Unable to load %s with id %s.", entityType.name(), entityId)
 {
     this._entityType = entityType;
     this._entityId   = entityId;
 }
Example #2
0
 public PropertyNotFoundException(int propertyKeyId, EntityType entityType, long entityId) : this(entityType == EntityType.GRAPH ? "GraphProperties" : entityType.name() + "[" + entityId + "]", propertyKeyId)
 {
 }