Class DestroyedComponentException

  • All Implemented Interfaces:
    Serializable

    public class DestroyedComponentException
    extends RuntimeException
    Exception thrown if a component has been destroyed and an attempt was made to use it.
    See Also:
    Serialized Form
    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        Serial version UID.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DestroyedComponentException

        public DestroyedComponentException()
        Constructor.
      • DestroyedComponentException

        public DestroyedComponentException​(Object destroyedComponent)
        Constructor. This method constructs the exception message by prepending the output of Object.toString() to the string has been destroyed.
        Parameters:
        destroyedComponent - the component that was destroyed
      • DestroyedComponentException

        public DestroyedComponentException​(String message)
        Constructor.
        Parameters:
        message - exception message
      • DestroyedComponentException

        public DestroyedComponentException​(Exception wrappedException)
        Constructor.
        Parameters:
        wrappedException - exception to be wrapped by this one
      • DestroyedComponentException

        public DestroyedComponentException​(String message,
                                           Exception wrappedException)
        Constructor.
        Parameters:
        message - exception message
        wrappedException - exception to be wrapped by this one