Class XMLReflectionException

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

public class XMLReflectionException extends 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:
  • Constructor Details

    • XMLReflectionException

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

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