/**
* Returns an array with basic node data
*
* We might want to cache this, since this method is used by about every
* method in the location handler.
*
* @todo optimize
* @param mixed $nodeId
*
* @return array
*/
public function getBasicNodeData($nodeId)
{
try {
return $this->innerGateway->getBasicNodeData($nodeId);
} catch (DBALException $e) {
throw new RuntimeException('Database error', 0, $e);
} catch (PDOException $e) {
throw new RuntimeException('Database error', 0, $e);
}
}