mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
better RunnerException
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user