entityManagerClosed() public static method

public static entityManagerClosed ( )
 /**
  * Throws an exception if the EntityManager is closed or currently not active.
  *
  * @throws OXMException If the EntityManager is closed.
  */
 private function errorIfClosed()
 {
     if ($this->closed) {
         throw OXMException::entityManagerClosed();
     }
 }