Class 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:
    Serialized Form
    • Constructor Detail

      • 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