Skip to content

Commit 300ca07

Browse files
author
Federico Fissore
committed
better RunnerException
1 parent 4ae392b commit 300ca07

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/src/processing/app/debug/RunnerException.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* during either compile time or run time.
3030
*/
3131
@SuppressWarnings("serial")
32-
public class RunnerException extends Exception /*RuntimeException*/ {
32+
public class RunnerException extends Exception {
3333
protected String message;
3434
protected int codeIndex;
3535
protected int codeLine;
@@ -66,7 +66,8 @@ public RunnerException(String message, int file, int line, int column,
6666

6767

6868
public RunnerException(Exception e) {
69-
this(e.getMessage(), true);
69+
super(e);
70+
this.showStackTrace = true;
7071
}
7172

7273
/**

0 commit comments

Comments
 (0)