Class MissingRequiredParamException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.toberocat.guiengine.exception.InvalidGuiComponentException
io.github.toberocat.guiengine.exception.MissingRequiredParamException
- All Implemented Interfaces:
Serializable
Represents an exception that occurs when a required parameter is missing while generating a GUI component.
Created: 13.07.2023 Author: Tobias Madlberger (Tobias)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMissingRequiredParamException
(@NotNull AbstractGuiComponentBuilder<?> builder, @NotNull String parameterName) Constructs a new `MissingRequiredParamException` with the specified information. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MissingRequiredParamException
public MissingRequiredParamException(@NotNull @NotNull AbstractGuiComponentBuilder<?> builder, @NotNull @NotNull String parameterName) Constructs a new `MissingRequiredParamException` with the specified information.- Parameters:
builder
- The `AbstractGuiComponentBuilder` instance that is missing the required parameter.parameterName
- The name of the missing required parameter.
-