com.github.olaaronsson.process.impl.InternalJobNonRuntimeException Maven / Gradle / Ivy
package com.github.olaaronsson.process.impl;
import com.github.olaaronsson.process.ErrorCodeCarrier;
class InternalJobNonRuntimeException extends RuntimeException implements ErrorCodeCarrier {
private static final int NO_ERROR = 0;
private final int errorCode;
protected InternalJobNonRuntimeException(String message, Throwable cause) {
super(message, cause);
this.errorCode = NO_ERROR;
}
@Override
public int getErrorCode() {
return errorCode;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy