CommandExecutionException

class CommandExecutionException(    val sender: CommandSender,     val command: Command,     val name: String,     cause: Throwable) : RuntimeException

CommandManager.executeCommand 中抛出异常时包装的异常.

Constructors

Link copied to clipboard
fun CommandExecutionException(    sender: CommandSender,     command: Command,     name: String,     cause: Throwable)

Functions

Link copied to clipboard
fun addSuppressed(p0: Throwable)
Link copied to clipboard
open fun fillInStackTrace(): Throwable
Link copied to clipboard
open fun getLocalizedMessage(): String
Link copied to clipboard
open fun getStackTrace(): Array<StackTraceElement>
Link copied to clipboard
fun getSuppressed(): Array<Throwable>
Link copied to clipboard
open fun initCause(p0: Throwable): Throwable
Link copied to clipboard
open fun printStackTrace()
open fun printStackTrace(p0: PrintStream)
open fun printStackTrace(p0: PrintWriter)
Link copied to clipboard
open fun setStackTrace(p0: Array<StackTraceElement>)
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
val command: Command

执行过程发生异常的指令

Link copied to clipboard
open val message: String?
Link copied to clipboard
val name: String

匹配到的指令名

Link copied to clipboard
val sender: CommandSender

执行者