de.bea.domingo.server
Class ErrorCommand

java.lang.Object
  extended by de.bea.domingo.server.ErrorCommand
All Implemented Interfaces:
Command

public final class ErrorCommand
extends java.lang.Object
implements Command

Writes an error to the response writer.

Author:
Kurt Riede

Constructor Summary
ErrorCommand()
           
 
Method Summary
 void execute(DSession session, java.util.Map parameters, java.io.PrintWriter printWriter)
          Executes the command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorCommand

public ErrorCommand()
Method Detail

execute

public void execute(DSession session,
                    java.util.Map parameters,
                    java.io.PrintWriter printWriter)
             throws DNotesException,
                    java.io.IOException
Executes the command.

Specified by:
execute in interface Command
Parameters:
session - domingo session for execution
parameters - request parameters
printWriter - writer for the response
Throws:
DNotesException - if the command cannot be executed
java.io.IOException - if the response could not be created or completed
See Also:
Command.execute(de.bea.domingo.DSession, java.util.Map, java.io.PrintWriter)


Domingo Java-API