Package com._1c.g5.v8.dt.pm
Class ProcessExitedWithErrorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com._1c.g5.v8.dt.pm.ProcessExitedWithErrorException
- All Implemented Interfaces:
Serializable
Occurs when process has exited with error when it were starting.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProcessExitedWithErrorException
(String message, int exitCode) Constructs new instance with given message and code with which the process has exited. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the code with which the process has exited.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProcessExitedWithErrorException
Constructs new instance with given message and code with which the process has exited.- Parameters:
message
- given message (may benull
)given
- exit code with which the process has exited
-
-
Method Details
-
getExitCode
public int getExitCode()Returns the code with which the process has exited.
- Returns:
- the code with which the process has exited
-