Package org.im4java.process
Class ProcessEvent
java.lang.Object
org.im4java.process.ProcessEvent
This class wraps return-code and Exceptions of a terminated process.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
void
setException
(Exception pException) void
setReturnCode
(int pReturnCode)
-
Constructor Details
-
ProcessEvent
public ProcessEvent()Default constructor.
-
-
Method Details
-
setReturnCode
public void setReturnCode(int pReturnCode) - Parameters:
pReturnCode
- the iReturnCode to set
-
getReturnCode
public int getReturnCode()- Returns:
- the iReturnCode
-
setException
- Parameters:
pException
- the iException to set
-
getException
- Returns:
- the iException
-