aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath/javax/naming/NamingException.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/javax/naming/NamingException.java')
-rw-r--r--libjava/classpath/javax/naming/NamingException.java35
1 files changed, 17 insertions, 18 deletions
diff --git a/libjava/classpath/javax/naming/NamingException.java b/libjava/classpath/javax/naming/NamingException.java
index 7a5c35e..28b8172 100644
--- a/libjava/classpath/javax/naming/NamingException.java
+++ b/libjava/classpath/javax/naming/NamingException.java
@@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
-
+
GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
@@ -199,9 +199,9 @@ public class NamingException extends Exception
{
if (name != null)
try
- {
- remainingName.addAll(name);
- }
+ {
+ remainingName.addAll(name);
+ }
catch(InvalidNameException ine) { /* ignored */ }
}
@@ -216,9 +216,9 @@ public class NamingException extends Exception
{
if (name != null)
try
- {
- remainingName.add(name);
- }
+ {
+ remainingName.add(name);
+ }
catch(InvalidNameException ine) { /* ignored */ }
}
@@ -243,24 +243,24 @@ public class NamingException extends Exception
Throwable cause = getRootCause();
if (cause != null)
{
- sb.append(" caused by ");
- sb.append(cause);
+ sb.append(" caused by ");
+ sb.append(cause);
}
Name remaining = getRemainingName();
if (remaining != null)
{
- sb.append(" [remainingName: ");
- sb.append(remaining);
+ sb.append(" [remainingName: ");
+ sb.append(remaining);
}
Object resolved = getResolvedObj();
if (objectInfo && resolved != null)
{
- if (remainingName == null)
- sb.append(" [");
- else
- sb.append(", ");
- sb.append("resolvedObj: ");
- sb.append(resolved);
+ if (remainingName == null)
+ sb.append(" [");
+ else
+ sb.append(", ");
+ sb.append("resolvedObj: ");
+ sb.append(resolved);
}
if ((remaining != null) || (objectInfo && resolved != null))
sb.append(']');
@@ -314,4 +314,3 @@ public class NamingException extends Exception
super.printStackTrace(pw);
}
}
-