better RunnerException

This commit is contained in:
Federico Fissore 2013-06-28 13:52:31 +02:00
parent 4ae392b0b5
commit 300ca07b95
1 changed files with 3 additions and 2 deletions

View File

@ -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;
}
/**