if (serviceTypeLength > 255) { log.tracef("Rejecting service open of type %s on %s due to service type name being too long", serviceType, this); result.setException(new ServiceOpenException("Service type name is too long")); return IoUtils.nullCancellable();
pendingChannel.getResult().setException(new ServiceOpenException(reason)); break;
if (serviceTypeLength > 255) { log.tracef("Rejecting service open of type %s on %s due to service type name being too long", serviceType, this); result.setException(new ServiceOpenException("Service type name is too long")); return IoUtils.nullCancellable();
if (serviceTypeLength > 255) { log.tracef("Rejecting service open of type %s on %s due to service type name being too long", serviceType, this); result.setException(new ServiceOpenException("Service type name is too long")); return IoUtils.nullCancellable();
pendingChannel.getResult().setException(new ServiceOpenException(reason)); break;