public class CupHelpResultTranslator extends CupResultTranslator
| Constructor and Description |
|---|
CupHelpResultTranslator() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getResourceString(IfsProtocolServer server,
LibrarySession session,
String key) |
protected String |
getResourceString(IfsProtocolServer server,
LibrarySession session,
String key,
Object[] inserts) |
void |
translate(CommandContext state,
Object cmdKey,
Object invoker,
Object args,
Exception exception)
Translates from the
CommandContext into
the invocation environment. |
sendGenericErrorpublic void translate(CommandContext state, Object cmdKey, Object invoker, Object args, Exception exception) throws IfsException
ResultTranslatorCommandContext 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.IfsExceptionCommandContext,
CommandInvokerprotected String getResourceString(IfsProtocolServer server, LibrarySession session, String key, Object[] inserts) throws IfsException
IfsExceptionprotected String getResourceString(IfsProtocolServer server, LibrarySession session, String key) throws IfsException
IfsExceptionCopyright © 2025. All rights reserved.