net.intelie.liverig.witsml.WITSMLException Maven / Gradle / Ivy
The newest version!
package net.intelie.liverig.witsml;
public class WITSMLException extends Exception {
public static final short SUCCESS = 1;
public static final short UNKNOWN_PARAMETER_ERROR = -199;
public static final short PARSE_ERROR = -202;
public static final short NO_MATCH = -204;
public static final short UNKNOWN_PROGRAM_ERROR = -999;
private final short returnValue;
public WITSMLException(short returnValue) {
super();
this.returnValue = returnValue;
}
public WITSMLException(short returnValue, String message) {
super(message);
this.returnValue = returnValue;
}
public WITSMLException(short returnValue, String message, Throwable cause) {
super(message, cause);
this.returnValue = returnValue;
}
public WITSMLException(short returnValue, Throwable cause) {
super(cause);
this.returnValue = returnValue;
}
public short getReturnValue() {
return returnValue;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy