net.luniks.process
Interface ExitListener


public interface ExitListener

Listener for ProcessHandler

Author:
Torsten Römer, www.luniks.net

Method Summary
 void exceptionAction(java.lang.Exception exception)
          This method will be called when an exception occurres in the process handler with the exception as argument.
 void exitAction(int exitCode)
          This method will be called by the process handler when the process exits with the exit code as argument.
 

Method Detail

exitAction

public void exitAction(int exitCode)
This method will be called by the process handler when the process exits with the exit code as argument.

Parameters:
exitCode - the exit code of the process

exceptionAction

public void exceptionAction(java.lang.Exception exception)
This method will be called when an exception occurres in the process handler with the exception as argument.

Parameters:
exception - the exception that occured at Process.exec.


Copyright (c) 2004, 2005 Torsten Römer, dode@luniks.net