IllegalCommandArgumentException

open class IllegalCommandArgumentException @JvmOverloads constructor(message: String, cause: Throwable? = null) : IllegalArgumentException

在处理参数时遇到的 正常 错误. 如参数不符合规范, 参数值越界等.

message 将会发送给指令调用方.

如果指令调用方是 ConsoleCommandSender, 还会将 cause, suppressedExceptions 发送给 ConsoleCommandSender (如果存在)

See also

Inheritors

Constructors

Link copied to clipboard
constructor(message: String, cause: Throwable? = null)

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?