Class BadLiteralException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.jorel.commandapi.exceptions.BadLiteralException
All Implemented Interfaces:
Serializable

public class BadLiteralException extends RuntimeException
An exception caused when a literal is null or empty
See Also:
  • Constructor Details

    • BadLiteralException

      public BadLiteralException(boolean isNull)
      Creates a BadLiteralException
      Parameters:
      isNull - if true, state that the string is null. Otherwise, state that the string is empty