Class BlockingDisallowedException

All Implemented Interfaces:
Serializable

public class BlockingDisallowedException extends IllegalStateException
Exception that is thrown if attempting to run invokeAndBlock while blocking is disabled. This exception is thrown by Display#invokeAndBlock(java.lang.Runnable) if blocking is currently disabled. Blocking is disabled on any code run inside the Display#invokeWithoutBlocking(java.lang.Runnable) method, which will propagate this exception if Display#invokeAndBlock(java.lang.Runnable) throws this exception.
See Also:
  • Constructor Details

    • BlockingDisallowedException

      public BlockingDisallowedException()