You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ac...@apache.org on 2007/12/05 18:25:07 UTC
svn commit: r601427 -
/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/afp/exceptions/NestedRuntimeException.java
Author: acumiskey
Date: Wed Dec 5 09:25:07 2007
New Revision: 601427
URL: http://svn.apache.org/viewvc?rev=601427&view=rev
Log:
Checkstyle fixes
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/render/afp/exceptions/NestedRuntimeException.java
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/afp/exceptions/NestedRuntimeException.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/afp/exceptions/NestedRuntimeException.java?rev=601427&r1=601426&r2=601427&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/afp/exceptions/NestedRuntimeException.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/afp/exceptions/NestedRuntimeException.java Wed Dec 5 09:25:07 2007
@@ -32,7 +32,7 @@
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 NestedRuntimeException(String msg, Throwable t) {
super(msg);
- _underlyingException = t;
+ underlyingException = t;
}
@@ -60,7 +60,7 @@
*/
public Throwable getUnderlyingException() {
- return _underlyingException;
+ return underlyingException;
}
@@ -71,12 +71,12 @@
*/
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 @@
* @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 @@
* @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);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org