diff options
author | Adrian Cumiskey <acumiskey@apache.org> | 2007-12-05 17:25:07 +0000 |
---|---|---|
committer | Adrian Cumiskey <acumiskey@apache.org> | 2007-12-05 17:25:07 +0000 |
commit | a8ba0681a01326871a60fa4724080e39d3fc1034 (patch) | |
tree | e6ec16f46eb2e38003171afd083d296fddecd4ab /src/java/org/apache/fop/render/afp | |
parent | 915d98d5a30d1872e7db3fdede0ca7312a44e74b (diff) | |
download | xmlgraphics-fop-a8ba0681a01326871a60fa4724080e39d3fc1034.tar.gz xmlgraphics-fop-a8ba0681a01326871a60fa4724080e39d3fc1034.zip |
Checkstyle fixes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601427 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/afp')
-rw-r--r-- | src/java/org/apache/fop/render/afp/exceptions/NestedRuntimeException.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/java/org/apache/fop/render/afp/exceptions/NestedRuntimeException.java b/src/java/org/apache/fop/render/afp/exceptions/NestedRuntimeException.java index 0554dd90a..2a5eb6d5f 100644 --- a/src/java/org/apache/fop/render/afp/exceptions/NestedRuntimeException.java +++ b/src/java/org/apache/fop/render/afp/exceptions/NestedRuntimeException.java @@ -32,7 +32,7 @@ import java.io.PrintWriter; public abstract class NestedRuntimeException extends RuntimeException { /** Root cause of this nested exception */ - private Throwable _underlyingException; + private Throwable underlyingException; /** * Construct a <code>NestedRuntimeException</code> with the specified detail message. @@ -50,7 +50,7 @@ public abstract class NestedRuntimeException extends RuntimeException { */ public NestedRuntimeException(String msg, Throwable t) { super(msg); - _underlyingException = t; + underlyingException = t; } @@ -60,7 +60,7 @@ public abstract class NestedRuntimeException extends RuntimeException { */ public Throwable getUnderlyingException() { - return _underlyingException; + return underlyingException; } @@ -71,12 +71,12 @@ public abstract class NestedRuntimeException extends RuntimeException { */ public String getMessage() { - if (_underlyingException == null) { + if (underlyingException == null) { return super.getMessage(); } else { return super.getMessage() + "; nested exception is " - + _underlyingException.getClass().getName(); + + underlyingException.getClass().getName(); } } @@ -86,11 +86,11 @@ public abstract class NestedRuntimeException extends RuntimeException { * @param ps the print stream */ public void printStackTrace(PrintStream ps) { - if (_underlyingException == null) { + if (underlyingException == null) { super.printStackTrace(ps); } else { ps.println(this); - _underlyingException.printStackTrace(ps); + underlyingException.printStackTrace(ps); } } @@ -99,11 +99,11 @@ public abstract class NestedRuntimeException extends RuntimeException { * @param pw the print writer */ public void printStackTrace(PrintWriter pw) { - if (_underlyingException == null) { + if (underlyingException == null) { super.printStackTrace(pw); } else { pw.println(this); - _underlyingException.printStackTrace(pw); + underlyingException.printStackTrace(pw); } } |