8009637: Some error messages are missing a space

Reviewed-by: alanb
This commit is contained in:
Ivan Gerasimov 2014-04-14 16:15:10 +04:00
parent 6ca57a22ca
commit 998176c65e
5 changed files with 5 additions and 5 deletions

View File

@ -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") ;
}
// ----------------

View File

@ -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();

View File

@ -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;

View File

@ -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) {

View File

@ -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) {