add exceptions to LinesManagerImpl.java