CommandExecutionException

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

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

Constructors

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

Functions

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

Properties

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

执行过程发生异常的指令

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

匹配到的指令名

sender
Link copied to clipboard
val sender: CommandSender

执行者