Class CommandCompilationException

All Implemented Interfaces:
Serializable

public final class CommandCompilationException extends IllegalArgumentException
An annotation model that cannot describe one unambiguous command tree.
See Also:
  • Field Details

  • Constructor Details

    • CommandCompilationException

      public CommandCompilationException(String message)
      Parameters:
      message - the executor, method, format and reason
    • CommandCompilationException

      CommandCompilationException(ErrorCode code, String reason)
    • CommandCompilationException

      private CommandCompilationException(Diagnostic diagnostic)
  • Method Details

    • diagnostic

      @Internal @Nullable public @Nullable Diagnostic diagnostic()
      Returns:
      the structured failure, or null for a legacy message-only exception