a little more general

This commit is contained in:
Ben Fry
2015-04-25 14:14:06 -04:00
parent ae5eb1a605
commit e98a8615cf

View File

@@ -676,6 +676,6 @@ public class PGraphicsPDF extends PGraphicsJava2D {
protected void nope(String function) {
throw new RuntimeException("No " + function + "() for PGraphicsPDF");
throw new RuntimeException("No " + function + "() for " + getClass().getSimpleName());
}
}