/**
* Deletes object state identified by $stateId.
*
* @param int $stateId
*/
public function deleteObjectState($stateId)
{
try {
return $this->innerGateway->deleteObjectState($stateId);
} catch (DBALException $e) {
throw new RuntimeException('Database error', 0, $e);
} catch (PDOException $e) {
throw new RuntimeException('Database error', 0, $e);
}
}