Skip to content

Commit a082dd6

Browse files
committed
Deprecate old exceptions
1 parent db12d02 commit a082dd6

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

‎java-vtl-script/src/main/java/no/ssb/vtl/script/error/VTLErrorCodeUtil.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
/**
2727
* Utility class for error codes.
2828
*/
29+
@Deprecated
2930
public class VTLErrorCodeUtil {
3031

3132
public static String checkVTLCode(String vtlCode, String prefix) {

‎java-vtl-script/src/main/java/no/ssb/vtl/script/error/VTLRuntimeException.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
/**
3030
* Thrown when the VTL execution failed at runtime.
3131
*/
32+
@Deprecated
3233
public class VTLRuntimeException extends RuntimeException implements VTLThrowable {
3334

3435
private static final long serialVersionUID = 7253953869019949964L;

‎java-vtl-script/src/main/java/no/ssb/vtl/script/error/ValidationException.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
* The validation exception is thrown when a validation fails in the
2727
* VTL script.
2828
*/
29+
@Deprecated
2930
public class ValidationException extends ScriptException {
3031
public ValidationException(String s) {
3132
super(s);

0 commit comments

Comments
 (0)