|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.tomp.xtcl.command.AbstractCommand
net.sf.tomp.xtcl.command.Err
public class Err
Generates an Error with specified return (error) code
Field Summary | |
---|---|
protected int |
err
error code |
Constructor Summary | |
---|---|
Err()
|
Method Summary | |
---|---|
int |
execute(Context context)
Generates an Error with specified return (error) code |
void |
setError(int r)
sets the error code |
java.lang.String |
toString()
DOCUMENT ME! |
Methods inherited from class net.sf.tomp.xtcl.command.AbstractCommand |
---|
done, initParameters, listArray, listList, listMap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int err
Constructor Detail |
---|
public Err()
Method Detail |
---|
public void setError(int r)
r
- public int execute(Context context) throws java.lang.Exception
execute
in interface Command
execute
in class AbstractCommand
context
-
java.lang.Exception
- only if I/O error occurs when reporting the result to user.public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |