mirror of
https://github.com/processing/processing4.git
synced 2026-02-01 21:01:07 +01:00
24 lines
411 B
Java
24 lines
411 B
Java
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
|
|
}
|
|
|