Package org.apache.wicket.page
Class CouldNotLockPageException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.wicket.page.CouldNotLockPageException
-
- All Implemented Interfaces:
java.io.Serializable
public class CouldNotLockPageException extends java.lang.RuntimeException
An exception that is being thrown when a second thread attempts to get the lock on a page instance that is currently locked by another thread and it cannot do that for some specifiedduration
-
-
Constructor Summary
Constructors Constructor Description CouldNotLockPageException(int page, java.lang.String threadName, org.apache.wicket.util.time.Duration timeout)
Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPage()
java.lang.String
getThreadName()
org.apache.wicket.util.time.Duration
getTimeout()
-
-
-
Constructor Detail
-
CouldNotLockPageException
public CouldNotLockPageException(int page, java.lang.String threadName, org.apache.wicket.util.time.Duration timeout)
Construct.- Parameters:
page
- the id of the page instance which is already lockedthreadName
- the name of the thread that attempts to acquire the lock on the pagetimeout
- the duration that the second thread waited for the lock
-
-