org.abstracthorizon.mercury.imap.cmd
Class Bad
java.lang.Object
org.abstracthorizon.mercury.imap.cmd.IMAPCommand
org.abstracthorizon.mercury.imap.cmd.Bad
- All Implemented Interfaces:
- org.abstracthorizon.danube.connection.ConnectionHandler
public class Bad
- extends IMAPCommand
Artificial command representing unknown command
- Author:
- Daniel Sendula
Constructor Summary |
Bad()
Constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
error
protected String error
- Error message
Bad
public Bad()
- Constructor
setErrorString
public void setErrorString(String error)
- Sets error message
- Parameters:
error
- error message
execute
public void execute(IMAPSession session)
throws IOException
- Executes the command
- Overrides:
execute
in class IMAPCommand
- Parameters:
session
-
- Throws:
IOException
Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.