Class ItemMetaInitException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.mockbukkit.mockbukkit.exception.ItemMetaInitException
- All Implemented Interfaces:
Serializable
Thrown when MockBukkit fails to initialize ItemMeta.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionItemMetaInitException(@NotNull Throwable cause) Constructs a new runtime exception with the specified cause and a detail message of (cause==null ? null : cause.toString())ItemMetaInitException(String message, Throwable cause) Constructs a new runtime exception with the specified cause and a detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ItemMetaInitException
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
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.
-