Class UnsupportedEntityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ua.mcchickenstudio.opencreative.coding.exceptions.UnsupportedEntityException
- All Implemented Interfaces:
Serializable
UnsupportedEntityException
This class represents an exception, that happens when code tries to perform action, that won't work on current entity and requires it to be the specified.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnsupportedEntityException(@NotNull Class<?> required, @NotNull org.bukkit.entity.Entity current) -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnsupportedEntityException
public UnsupportedEntityException(@NotNull @NotNull Class<?> required, @NotNull @NotNull org.bukkit.entity.Entity current)
-
-
Method Details
-
getRequired
-
getCurrent
-