Package spin.over

Class EDTRuleViolation

  • All Implemented Interfaces:
    java.io.Serializable

    public class EDTRuleViolation
    extends java.lang.RuntimeException
    Exception signaling a violation of the EDT rule.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      EDTRuleViolation​(java.awt.Component component)
      Create an exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Component getComponent()
      Get the component that triggered the violation.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • EDTRuleViolation

        public EDTRuleViolation​(java.awt.Component component)
        Create an exception.
        Parameters:
        component - the component that triggered the violation.
    • Method Detail

      • getComponent

        public java.awt.Component getComponent()
        Get the component that triggered the violation.
        Returns:
        the violated component