X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/formatter/AbortFormatting.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/formatter/AbortFormatting.java index c92546d..b598ccc 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/formatter/AbortFormatting.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/formatter/AbortFormatting.java @@ -12,17 +12,18 @@ package net.sourceforge.phpdt.internal.formatter; /** * 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;