Class BlockStateInitException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.mockbukkit.mockbukkit.exception.BlockStateInitException
All Implemented Interfaces:
Serializable

public class BlockStateInitException extends RuntimeException
Thrown when MockBukkit fails to initialize BlockState.
See Also:
  • Constructor Details

    • BlockStateInitException

      public BlockStateInitException(String message, Throwable cause)
      Constructs a new runtime exception with the specified cause and a detail message.
      Parameters:
      message - The detail message.
      cause - The cause of the exception.
    • BlockStateInitException

      public BlockStateInitException(@NotNull @NotNull Throwable cause)
      Constructs a new runtime exception with the specified cause and a detail message of (cause==null ? null : cause.toString())
      Parameters:
      cause - The cause of the exception.