mirror of
https://github.com/processing/processing4.git
synced 2026-02-02 13:21:07 +01:00
Initial revision
This commit is contained in:
23
processing/app/PdeException.java
Normal file
23
processing/app/PdeException.java
Normal file
@@ -0,0 +1,23 @@
|
||||
public class PdeException extends Exception {
|
||||
int line = -1;
|
||||
|
||||
public PdeException() { }
|
||||
|
||||
public PdeException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public PdeException(String message, int line) {
|
||||
super(message);
|
||||
this.line = line;
|
||||
}
|
||||
|
||||
#ifndef PLAYER
|
||||
#ifdef DBN
|
||||
public PdeException(String message, DbnToken token) {
|
||||
super(message + ", token: " + token.toString());
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user