Skip to content

Commit 627eafb

Browse files
tagging old location as deprecated
1 parent 7512bc0 commit 627eafb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/src/processing/app/SketchException.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// temporary band-aid class to support modes which are still looking here for the now-refactored class.
2-
// (would be good to delete this file once all modes are updated to use processing.utils.SketchException)
32
// - josh giesbrecht
43

54
package processing.app;
65

7-
// extends the refactored class, to defer functionality there and also to hopefully play nicely when
8-
// exception-handling goes to see if this is a processing.utils.SketchException or not!
6+
@Deprecated
7+
// please migrate to using processing.utils.SketchException instead! all class functionality is the same as before.
98
public class SketchException extends processing.utils.SketchException {
109

10+
// Idea complained without all these super wrappers for constructors. ¯\_(ツ)_/¯ sure, why not?
1111
public SketchException(String message) {
1212
super(message);
1313
}
@@ -27,4 +27,4 @@ public SketchException(String message, int file, int line, int column) {
2727
public SketchException(String message, int file, int line, int column, boolean showStackTrace) {
2828
super(message, file, line, column, showStackTrace);
2929
}
30-
}
30+
}

0 commit comments

Comments
 (0)