Class XMLReflectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.stefvanschie.inventoryframework.exception.XMLReflectionException
- All Implemented Interfaces:
Serializable
An exception indicating that something went wrong while executing reflection that was loaded prior from an XML file.
Keep in mind that, while this exception is thrown because of reflection, reflection that is executed while loading
from the XML file will throw an
XMLLoadException
if something goes wrong. This exception will only occur when
the reflection error happens after loading has finished.- Since:
- 0.3.1
- See Also:
-
Constructor Summary
ConstructorDescriptionXMLReflectionException
(@NotNull String message) Constructs the exception with a given messageXMLReflectionException
(@NotNull 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
-
Constructor Details
-
XMLReflectionException
Constructs the exception with a given message- Parameters:
message
- the message to show- Since:
- 0.3.1
-
XMLReflectionException
Constructs the exception with a given cause- Parameters:
cause
- the cause of this exception- Since:
- 0.3.1
-