aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/afp
diff options
context:
space:
mode:
authorAdrian Cumiskey <acumiskey@apache.org>2007-12-05 17:25:07 +0000
committerAdrian Cumiskey <acumiskey@apache.org>2007-12-05 17:25:07 +0000
commita8ba0681a01326871a60fa4724080e39d3fc1034 (patch)
treee6ec16f46eb2e38003171afd083d296fddecd4ab /src/java/org/apache/fop/render/afp
parent915d98d5a30d1872e7db3fdede0ca7312a44e74b (diff)
downloadxmlgraphics-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.java18
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);
}
}