8009637: Some error messages are missing a space
Reviewed-by: alanb
This commit is contained in:
parent
6ca57a22ca
commit
998176c65e
@ -1220,7 +1220,7 @@ public class DefaultMBeanServerInterceptor implements MBeanServerInterceptor {
|
||||
throw new RuntimeOperationsException(new
|
||||
IllegalArgumentException(listener.getCanonicalName()),
|
||||
"The MBean " + listener.getCanonicalName() +
|
||||
"does not implement the NotificationListener interface") ;
|
||||
" does not implement the NotificationListener interface") ;
|
||||
}
|
||||
|
||||
// ----------------
|
||||
|
@ -188,7 +188,7 @@ final class LdapAttribute extends BasicAttribute {
|
||||
|
||||
if(syntaxAttr == null || syntaxAttr.size() == 0) {
|
||||
throw new NameNotFoundException(
|
||||
getID() + "does not have a syntax associated with it");
|
||||
getID() + " does not have a syntax associated with it");
|
||||
}
|
||||
|
||||
String syntaxName = (String)syntaxAttr.get();
|
||||
|
@ -87,7 +87,7 @@ class Logging implements LoggingMXBean {
|
||||
Logger logger = logManager.getLogger(loggerName);
|
||||
if (logger == null) {
|
||||
throw new IllegalArgumentException("Logger " + loggerName +
|
||||
"does not exist");
|
||||
" does not exist");
|
||||
}
|
||||
|
||||
Level level = null;
|
||||
|
@ -232,7 +232,7 @@ class NameImpl {
|
||||
syntaxDirection = FLAT;
|
||||
} else {
|
||||
throw new IllegalArgumentException(syntaxDirectionStr +
|
||||
"is not a valid value for the jndi.syntax.direction property");
|
||||
" is not a valid value for the jndi.syntax.direction property");
|
||||
}
|
||||
|
||||
if (syntaxDirection != FLAT) {
|
||||
|
@ -1585,7 +1585,7 @@ public class Win32PrintService implements PrintService, AttributeUpdater,
|
||||
|
||||
if (flavor != null && !isDocFlavorSupported(flavor)) {
|
||||
throw new IllegalArgumentException("flavor " + flavor +
|
||||
"is not supported");
|
||||
" is not supported");
|
||||
}
|
||||
|
||||
if (attributes == null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user