/**
* Updates the object state priority to provided value.
*
* @param mixed $stateId
* @param int $priority
*/
public function updateObjectStatePriority($stateId, $priority)
{
try {
return $this->innerGateway->updateObjectStatePriority($stateId, $priority);
} catch (DBALException $e) {
throw new RuntimeException('Database error', 0, $e);
} catch (PDOException $e) {
throw new RuntimeException('Database error', 0, $e);
}
}