All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.olaaronsson.process.impl.InternalProcessNonRuntimeException Maven / Gradle / Ivy

The newest version!
package com.github.olaaronsson.process.impl;

import com.github.olaaronsson.process.ErrorCodeCarrier;

class InternalProcessNonRuntimeException extends RuntimeException implements ErrorCodeCarrier {

	private static final int NO_ERROR = 0;
	private final int errorCode;

	protected InternalProcessNonRuntimeException(String message, Throwable cause) {
		super(message, cause);
		this.errorCode = NO_ERROR;
	}

	@Override
	public int getErrorCode() {
		return errorCode;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy