public class CupLoginResultTranslator extends CupResultTranslator
Constructor and Description |
---|
CupLoginResultTranslator() |
Modifier and Type | Method and Description |
---|---|
protected IfsProtocolSession |
createProtocolSession(CommandContext state,
String dateFormat,
String delimiter) |
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
protected IfsProtocolSession createProtocolSession(CommandContext state, String dateFormat, String delimiter) throws IfsException
IfsException
Copyright © 2023. All rights reserved.