Mercurial > hg > monetdb-java
view src/main/java/nl/cwi/monetdb/merovingian/MerovingianException.java @ 188:6cad43917d6e
Added: private static final long serialVersionUID
to resolve javac -Xlint compilation warning:
MerovingianException.java:21: warning: [serial] serializable class MerovingianException has no definition of serialVersionUID
public class MerovingianException extends Exception {
^
1 warning
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Thu, 19 Oct 2017 17:35:53 +0200 (2017-10-19) |
parents | b9b35ca2eec2 |
children | c38d4eaf5479 |
line wrap: on
line source
/* * 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 1997 - July 2008 CWI, August 2008 - 2017 MonetDB B.V. */ package nl.cwi.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); } }