fix #1 by subclassing java.lang.Exception