Class FocusException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    FocusVetoException

    public class FocusException
    extends PropException
    Focus exception event when focus cannot be changed.
    Author:
    Christopher Mindus
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      ConstructorDescription
      FocusException​(GProp<?> property)
      Creates a focus exception with an empty detail message.
      FocusException​(GProp<?> property, java.lang.String message)
      Creates a focus exception with a message.
      FocusException​(GProp<?> property, java.lang.String message, java.lang.Throwable exception)
      Creates a focus exception with a message and an exception cause.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

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

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

      • FocusException

        public FocusException​(GProp<?> property)
        Creates a focus exception with an empty detail message.
        Parameters:
        property - the originator property.
        Throws:
        java.lang.NullPointerException - if property parameter is null.
      • FocusException

        public FocusException​(GProp<?> property,
                              java.lang.String message)
        Creates a focus exception with a message.
        Parameters:
        property - the originator property.
        message - the detail message.
        Throws:
        java.lang.NullPointerException - if property parameter is null.
      • FocusException

        public FocusException​(GProp<?> property,
                              java.lang.String message,
                              java.lang.Throwable exception)
        Creates a focus exception with a message and an exception cause.
        Parameters:
        property - the originator property.
        message - the detail message.
        exception - the exception, i.e. the real cause.
        Throws:
        java.lang.NullPointerException - if property parameter is null.