CavalliumDBEngine/src/main/java/it/cavallium/dbengine/database/remote/RPCException.java

11 lines
284 B
Java
Raw Normal View History

2022-03-05 15:46:40 +01:00
package it.cavallium.dbengine.database.remote;
import org.jetbrains.annotations.Nullable;
public class RPCException extends RuntimeException {
public RPCException(int code, @Nullable String message) {
super("RPC error " + code + (message != null ? (": " + message) : ""));
}
}