CommandAPI 9.6.0
An API for the command UI introduced in Minecraft 1.13
dev.jorel.commandapi.exceptions.BadLiteralException Class Reference

An exception caused when a literal is null or empty. More...

+ Inheritance diagram for dev.jorel.commandapi.exceptions.BadLiteralException:

Public Member Functions

 BadLiteralException (boolean isNull)
 Creates a BadLiteralException. More...
 

Detailed Description

An exception caused when a literal is null or empty.

Constructor & Destructor Documentation

◆ BadLiteralException()

dev.jorel.commandapi.exceptions.BadLiteralException.BadLiteralException ( boolean  isNull)

Creates a BadLiteralException.

Parameters
isNullif true, state that the string is null. Otherwise, state that the string is empty