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

org.tarantool.TarantoolException Maven / Gradle / Ivy

There is a newer version: 1.9.4
Show newest version
package org.tarantool;

/**
 * A remote server error with error code and message.
 * 
 * @author dgreen
 * @version $Id: $
 */
public class TarantoolException extends RuntimeException {

	private static final long serialVersionUID = 1L;
	long code;

	/**
	 * 

* Getter for the field code. *

* * @return a int. */ public long getCode() { return code; } /** *

* Constructor for TarantoolException. *

* * @param code * a int. * @param message * a {@link java.lang.String} object. * @param cause * a {@link java.lang.Throwable} object. */ public TarantoolException(long code, String message, Throwable cause) { super(message, cause); this.code = code; } /** *

* Constructor for TarantoolException. *

* * @param code * a int. * @param message * a {@link java.lang.String} object. */ public TarantoolException(long code, String message) { super(message); this.code = code; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy