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; }
public PropertyNotFoundException(int propertyKeyId, EntityType entityType, long entityId) : this(entityType == EntityType.GRAPH ? "GraphProperties" : entityType.name() + "[" + entityId + "]", propertyKeyId) { }