Package org.im4java.process
Class ProcessEvent
- java.lang.Object
-
- org.im4java.process.ProcessEvent
-
public class ProcessEvent extends java.lang.Object
This 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.Exception
getException()
int
getReturnCode()
void
setException(java.lang.Exception pException)
void
setReturnCode(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
-
-