Package com.iizix.gyro
Class FocusException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- com.iizix.prop.PropException
- com.iizix.gyro.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 Constructor Description 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 com.iizix.prop.PropException
getProperty, toString
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
- ifproperty
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
- ifproperty
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
- ifproperty
parameter is null.