Mercurial > hg > monetdb-java
comparison src/main/java/org/monetdb/mcl/parser/MCLParseException.java @ 918:2543e24eb79a
Add final to more classes.
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Wed, 24 Jul 2024 19:38:33 +0200 (9 months ago) |
parents | 6d229896c785 |
children | d416e9b6b3d0 |
comparison
equal
deleted
inserted
replaced
917:c2164decf7f1 | 918:2543e24eb79a |
---|---|
20 * missing field). The instance that throws the exception will try to | 20 * missing field). The instance that throws the exception will try to |
21 * give an error offset whenever possible. Alternatively it makes sure | 21 * give an error offset whenever possible. Alternatively it makes sure |
22 * that the error message includes the offending data read. | 22 * that the error message includes the offending data read. |
23 */ | 23 */ |
24 @SuppressWarnings("serial") | 24 @SuppressWarnings("serial") |
25 public class MCLParseException extends java.text.ParseException { | 25 public final class MCLParseException extends java.text.ParseException { |
26 public MCLParseException(String e) { | 26 public MCLParseException(String e) { |
27 super(e, -1); | 27 super(e, -1); |
28 } | 28 } |
29 | 29 |
30 public MCLParseException(String e, int offset) { | 30 public MCLParseException(String e, int offset) { |