# Class BlockingDisallowedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
com.codename1.ui.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:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `BlockingDisallowedException()`

- ## Method Summary

  ### Methods inherited from class Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### BlockingDisallowedException

    public BlockingDisallowedException()