Package ch.njol.skript
Class SkriptAPIException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ch.njol.skript.SkriptAPIException
- All Implemented Interfaces:
Serializable
This exception is thrown if the API is used incorrectly.
- See Also:
- Serialized Form
-
Constructor Summary
ConstructorDescriptionSkriptAPIException(String message)
SkriptAPIException(String message, Throwable cause)
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
static void
instantiationException(String desc, Class<?> c, InstantiationException e)
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SkriptAPIException
-
SkriptAPIException
-
-
Method Details
-
inaccessibleConstructor
public static void inaccessibleConstructor(Class<?> c, IllegalAccessException e) throws SkriptAPIException- Throws:
SkriptAPIException
-
instantiationException
public static void instantiationException(Class<?> c, InstantiationException e) throws SkriptAPIException- Throws:
SkriptAPIException
-
instantiationException
public static void instantiationException(String desc, Class<?> c, InstantiationException e) throws SkriptAPIException- Throws:
SkriptAPIException
-