Class XMLReflectionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.stefvanschie.inventoryframework.exception.XMLReflectionException
All Implemented Interfaces:
java.io.Serializable

public class XMLReflectionException
extends java.lang.RuntimeException
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:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    XMLReflectionException​(@NotNull java.lang.String message)
    Constructs the exception with a given message
    XMLReflectionException​(@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

    • XMLReflectionException

      public XMLReflectionException​(@NotNull @NotNull java.lang.String message)
      Constructs the exception with a given message
      Parameters:
      message - the message to show
      Since:
      0.3.1
    • XMLReflectionException

      public XMLReflectionException​(@NotNull @NotNull java.lang.Throwable cause)
      Constructs the exception with a given cause
      Parameters:
      cause - the cause of this exception
      Since:
      0.3.1