Class ItemMetaInitException

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

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

    • ItemMetaInitException

      public ItemMetaInitException(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.
    • ItemMetaInitException

      public ItemMetaInitException(@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.