mirror of https://github.com/noisymime/Arduino.git
better RunnerException
This commit is contained in:
parent
4ae392b0b5
commit
300ca07b95
|
@ -29,7 +29,7 @@ package processing.app.debug;
|
||||||
* during either compile time or run time.
|
* during either compile time or run time.
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("serial")
|
@SuppressWarnings("serial")
|
||||||
public class RunnerException extends Exception /*RuntimeException*/ {
|
public class RunnerException extends Exception {
|
||||||
protected String message;
|
protected String message;
|
||||||
protected int codeIndex;
|
protected int codeIndex;
|
||||||
protected int codeLine;
|
protected int codeLine;
|
||||||
|
@ -66,7 +66,8 @@ public class RunnerException extends Exception /*RuntimeException*/ {
|
||||||
|
|
||||||
|
|
||||||
public RunnerException(Exception e) {
|
public RunnerException(Exception e) {
|
||||||
this(e.getMessage(), true);
|
super(e);
|
||||||
|
this.showStackTrace = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue