Class InvalidBlockPropertyPersistenceValueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
cn.nukkit.blockproperty.exception.InvalidBlockPropertyException
cn.nukkit.blockproperty.exception.InvalidBlockPropertyPersistenceValueException
- All Implemented Interfaces:
Serializable
@PowerNukkitOnly
@Since("1.4.0.0-PN")
@ParametersAreNullableByDefault
public class InvalidBlockPropertyPersistenceValueException
extends InvalidBlockPropertyException
- Since:
- 2020-01-12
- Author:
- joserobjr
- See Also:
-
Constructor Summary
ConstructorDescriptionInvalidBlockPropertyPersistenceValueException
(BlockProperty<?> property, String currentValue, String invalidValue) InvalidBlockPropertyPersistenceValueException
(BlockProperty<?> property, String currentValue, String invalidValue, String message) InvalidBlockPropertyPersistenceValueException
(BlockProperty<?> property, String currentValue, String invalidValue, String message, Throwable cause) InvalidBlockPropertyPersistenceValueException
(BlockProperty<?> property, String currentValue, String invalidValue, Throwable cause) -
Method Summary
Methods inherited from class cn.nukkit.blockproperty.exception.InvalidBlockPropertyException
getProperty
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidBlockPropertyPersistenceValueException
@PowerNukkitOnly @Since("1.4.0.0-PN") public InvalidBlockPropertyPersistenceValueException(@Nonnull BlockProperty<?> property, String currentValue, String invalidValue) -
InvalidBlockPropertyPersistenceValueException
@PowerNukkitOnly @Since("1.4.0.0-PN") public InvalidBlockPropertyPersistenceValueException(@Nonnull BlockProperty<?> property, String currentValue, String invalidValue, String message) -
InvalidBlockPropertyPersistenceValueException
@PowerNukkitOnly @Since("1.4.0.0-PN") public InvalidBlockPropertyPersistenceValueException(@Nonnull BlockProperty<?> property, String currentValue, String invalidValue, String message, Throwable cause) -
InvalidBlockPropertyPersistenceValueException
@PowerNukkitOnly @Since("1.4.0.0-PN") public InvalidBlockPropertyPersistenceValueException(@Nonnull BlockProperty<?> property, String currentValue, String invalidValue, Throwable cause)
-
-
Method Details
-
getCurrentValue
-
getInvalidValue
-