Class ReflexionException

All Implemented Interfaces:
Serializable

public final class ReflexionException extends RuntimeException
Represents a custom runtime exception which is exclusively thrown by methods in this library to make it easier to catch them rather than having general exception types.
Since:
1.0
See Also:
  • Field Details

  • Constructor Details

    • ReflexionException

      public ReflexionException(@NotNull @NotNull String message)
      Constructs a new reflexion exception instance.
      Parameters:
      message - the message of the exception.
      Throws:
      NullPointerException - if the given message is null.
    • ReflexionException

      public ReflexionException(@NotNull @NotNull Throwable cause)
      Constructs a new reflexion exception instance.
      Parameters:
      cause - the cause why the exception was thrown.
      Throws:
      NullPointerException - if the given cause is null.