com.github.zella.rxprocess2.errors.ProcessException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rx-process2 Show documentation
Show all versions of rx-process2 Show documentation
rx-java2 wrapper for NuProcess
The newest version!
package com.github.zella.rxprocess2.errors;
/**
* Basic class for rxprocess2 exceptions. Msg contains stderr,
*
* Max stderr size can be set with "rxprocess2.stderrBuffer" property, default 1024 bytes.
* Note - buffer backed with circular fifo
*/
public class ProcessException extends RuntimeException {
public final int exitCode;
public ProcessException(int exitCode, String msg) {
super(msg);
this.exitCode = exitCode;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy