Package org.ships.exceptions.move
Class MoveException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.ships.exceptions.move.MoveException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMoveException
(@NotNull MovementContext context, @NotNull net.kyori.adventure.text.Component errorMessage, @NotNull Message<T> message, T data) MoveException
(@NotNull MovementContext context, @NotNull Message<T> message, T data) -
Method Summary
Modifier and TypeMethodDescription@NotNull MovementContext
@NotNull Object
getData()
@NotNull Message<?>
@NotNull net.kyori.adventure.text.Component
@NotNull org.core.adventureText.AText
Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MoveException
public MoveException(@NotNull @NotNull MovementContext context, @NotNull @NotNull Message<T> message, @NotNull T data) -
MoveException
public MoveException(@NotNull @NotNull MovementContext context, @NotNull @NotNull net.kyori.adventure.text.Component errorMessage, @NotNull @NotNull Message<T> message, @NotNull T data)
-
-
Method Details
-
getErrorMessageText
@Deprecated(forRemoval=true) @NotNull public @NotNull org.core.adventureText.AText getErrorMessageText()Deprecated, for removal: This API element is subject to removal in a future version. -
getErrorMessage
@NotNull public @NotNull net.kyori.adventure.text.Component getErrorMessage() -
getContext
-
getDisplayMessage
-
getData
-