view src/main/java/org/monetdb/merovingian/MerovingianException.java @ 921:41d0cce6d2df

Use new con.checkMinimumDBVersion() method. Also used it in the implementation of getClientInfoProperties() as it queries new system table sys.clientinfo_properties. Optimised the used query in getClientInfoProperties() and added a default query returning no rows for older servers.
author Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
date Thu, 25 Jul 2024 20:22:29 +0200 (9 months ago)
parents e890195256ac
children d416e9b6b3d0
line wrap: on
line source
/*
 * SPDX-License-Identifier: MPL-2.0
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0.  If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * Copyright 2024 MonetDB Foundation;
 * Copyright August 2008 - 2023 MonetDB B.V.;
 * Copyright 1997 - July 2008 CWI.
 */

package org.monetdb.merovingian;

/**
 * An Exception raised when monetdbd specific problems occur.
 *
 * This class is a shallow wrapper around Exception to identify an
 * exception as one originating from the monetdbd instance being
 * communicated with, instead of a locally generated one.
 *
 * @author Fabian Groffen
 * @version 1.0
 */
public class MerovingianException extends Exception {
	private static final long serialVersionUID = 101L;

	public MerovingianException(String reason) {
		super(reason);
	}
}