public class CupCpResultTranslator extends CupResultTranslator
Constructor and Description |
---|
CupCpResultTranslator() |
Modifier and Type | Method and Description |
---|---|
void |
translate(CommandContext state,
Object cmdKey,
Object invoker,
Object args,
Exception exception)
Translates from the
CommandContext into
the invocation environment. |
sendGenericError
public void translate(CommandContext state, Object cmdKey, Object invoker, Object args, Exception exception) throws IfsException
ResultTranslator
CommandContext
into
the invocation environment.state
- the command's context.cmdKey
- the command's key within the invocation environment.invoker
- the command's invoker.args
- additional args to be interpreted.exception
- any exception that occured during Command.run.IfsException
CommandContext
,
CommandInvoker
Copyright © 2023. All rights reserved.