Package org.im4java.process
Class ProcessEvent
- java.lang.Object
-
- org.im4java.process.ProcessEvent
-
public class ProcessEvent extends java.lang.ObjectThis class wraps return-code and Exceptions of a terminated process.
-
-
Constructor Summary
Constructors Constructor Description ProcessEvent()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ExceptiongetException()intgetReturnCode()voidsetException(java.lang.Exception pException)voidsetReturnCode(int pReturnCode)
-
-
-
Method Detail
-
setReturnCode
public void setReturnCode(int pReturnCode)
- Parameters:
pReturnCode- the iReturnCode to set
-
getReturnCode
public int getReturnCode()
- Returns:
- the iReturnCode
-
setException
public void setException(java.lang.Exception pException)
- Parameters:
pException- the iException to set
-
getException
public java.lang.Exception getException()
- Returns:
- the iException
-
-