Class LoadException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
javafx.fxml.LoadException
- All Implemented Interfaces:
Serializable
public class LoadException extends IOException
Thrown when an error is encountered during a load operation.
- Since:
- JavaFX 2.0
- See Also:
Constructor Summary
| Constructor | Description |
|---|---|
LoadException() |
Creates a default LoadException. |
LoadException |
Creates a LoadException with the given message. |
LoadException |
Creates a LoadException with the given message and Throwable cause. |
LoadException |
Creates a LoadException with the given Throwable cause. |
Method Summary
Methods declared in class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Constructor Details
LoadException
public LoadException()
Creates a default
LoadException.LoadException
public LoadException(String message)
Creates a
LoadException with the given message.- Parameters:
-
message- the message
LoadException
public LoadException(Throwable cause)
Creates a
LoadException with the given Throwable cause.- Parameters:
-
cause- theThrowablecause
LoadException
public LoadException(String message, Throwable cause)
Creates a
LoadException with the given message and Throwable cause.- Parameters:
-
message- the message -
cause- theThrowablecause
© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.