Class XMLLoadException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.stefvanschie.inventoryframework.exception.XMLLoadException
- All Implemented Interfaces:
java.io.Serializable
public class XMLLoadException
extends java.lang.RuntimeException
An exception indicating that something went wrong while trying to load a
Gui
from an XML file.- Since:
- 0.3.0
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description XMLLoadException(@NotNull java.lang.String message)
Constructs the exception with a given messageXMLLoadException(@NotNull java.lang.String message, @NotNull java.lang.Throwable cause)
Constructs the exception with a given message and causeXMLLoadException(@NotNull java.lang.Throwable cause)
Constructs the exception with a given cause -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
XMLLoadException
public XMLLoadException(@NotNull @NotNull java.lang.String message)Constructs the exception with a given message- Parameters:
message
- the message to show- Since:
- 0.3.0
-
XMLLoadException
public XMLLoadException(@NotNull @NotNull java.lang.Throwable cause)Constructs the exception with a given cause- Parameters:
cause
- the cause of this exception- Since:
- 0.3.1
-
XMLLoadException
public XMLLoadException(@NotNull @NotNull java.lang.String message, @NotNull @NotNull java.lang.Throwable cause)Constructs the exception with a given message and cause- Parameters:
message
- the message to showcause
- the cause of this exception
-