java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.minestom.server.thread.AcquirableOwnershipException
- All Implemented Interfaces:
Serializable
Exception thrown when an acquirable element is accessed without proper ownership.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAcquirableOwnershipException
(Thread initThread, @Nullable Thread assignedThread, Object element) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AcquirableOwnershipException
-
-
Method Details
-
initThread
The thread that initialized the acquirable element. -
assignedThread
The thread to which the acquirable element is assigned. May be null if the element is not yet initialized. -
element
The acquirable element that caused the ownership failure.
-