Class ContentParser.ContentParseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.incendo.cloud.exception.parsing.ParserException
com.xpdustry.distributor.api.command.cloud.parser.ContentParser.ContentParseException
All Implemented Interfaces:
Serializable
Enclosing class:
ContentParser<C,T extends mindustry.ctype.MappableContent>

public static final class ContentParser.ContentParseException extends org.incendo.cloud.exception.parsing.ParserException
An exception thrown when a content argument could not be parsed.
See Also:
  • Constructor Details

    • ContentParseException

      public ContentParseException(org.incendo.cloud.context.CommandContext<?> ctx, String input, com.xpdustry.distributor.api.key.CTypeKey<?> contentType)
      Parameters:
      input - the input string
      ctx - the command context
      contentType - the content type
  • Method Details

    • getInput

      public String getInput()
    • getContentType

      public com.xpdustry.distributor.api.key.CTypeKey<?> getContentType()