dashorst commented on code in PR #861: URL: https://github.com/apache/wicket/pull/861#discussion_r1595497973
########## wicket-core/src/main/java/org/apache/wicket/page/DefaultPageLockManager.java: ########## @@ -222,3 +227,12 @@ Supplier<ConcurrentMap<Integer, PageAccessSynchronizer.PageLock>> getLocks() return locks; } } + +class PageLockedException extends Exception +{ + PageLockedException(Thread previousThread, int pageId) + { + super("This thread " + previousThread.getName() + " holds the lock to page " + pageId); + setStackTrace(previousThread.getStackTrace()); Review Comment: ```suggestion super("This thread " + pageHoldingThread.getName() + " holds the lock to page " + pageId); setStackTrace(pageHoldingThread.getStackTrace()); ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@wicket.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org