JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

Profile: desktop, common

Overview

A wrapper exception for java.lang.RuntimeException that allows declarative construction of exceptions.

For example:

 JFXException {
     message: "Fatal error caused by IOException"
     cause: e
 }
 

You can also extend this class to create custom exception subclasses.

Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
public-initcauseThrowable

The cause of this exception.

public-initmessageString

The message for this exception.

Inherited Variables

Inherited Functions

org.jfxtras.lang.JFXObject

public getJFXClass() : javafx.reflect.FXClassType

Get the javafx.reflect.FXClassType for this object instance.

Get the javafx.reflect.FXClassType for this object instance. It is safe to cast the return type to javafx.reflect.FXLocal.ClassType to access additional methods.

Returns
FXClassType
The JavaFX Class Type wrapper for this instance