/**
* Unchecked exception wrapping invalid input checked exception which may occur
- * when scanning original formatted source.
+ * when scanning original formatted source.
*
* @since 2.1
*/
public class AbortFormatting extends RuntimeException {
Throwable nestedException;
-
+
public AbortFormatting(String message) {
super(message);
}
+
public AbortFormatting(Throwable nestedException) {
super(nestedException.getMessage());
this.nestedException = nestedException;