public class CupMvResultTranslator extends CupResultTranslator
| Constructor and Description |
|---|
CupMvResultTranslator() |
| Modifier and Type | Method and Description |
|---|---|
void |
translate(CommandContext state,
Object cmdKey,
Object invoker,
Object args,
Exception exception)
Translates the output and sends out answer to the cup client.
|
sendGenericErrorpublic void translate(CommandContext state, Object cmdKey, Object invoker, Object args, Exception exception) throws IfsException
state - instance of CommandContextcmdKey - command key for the commandinvoker - invoker of the commandargs - this encapsulates the argumentsexception - this holds any exceptions that were raised in the command executionIfsException - if the operation failsCommandContext,
CommandInvokerCopyright © 2025. All rights reserved.