* @param errorOutput The error output stream.
*/
public IOContext(final InputStream input, final OutputStream output, final OutputStream errorOutput)
{
if (input == null) {
throw new NullArgumentException("input");
}
if (output == null) {
throw new NullArgumentException("output");
}
if (errorOutput == null) {
throw new NullArgumentException("errorOutput");
}
this.input = input;
this.output = output;
this.errorOutput = errorOutput;