mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-18 12:54:25 +01:00
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.
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class RunnerException extends Exception /*RuntimeException*/ {
|
||||
public class RunnerException extends Exception {
|
||||
protected String message;
|
||||
protected int codeIndex;
|
||||
protected int codeLine;
|
||||
@ -66,7 +66,8 @@ public class RunnerException extends Exception /*RuntimeException*/ {
|
||||
|
||||
|
||||
public RunnerException(Exception e) {
|
||||
this(e.getMessage(), true);
|
||||
super(e);
|
||||
this.showStackTrace = true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user