code: @Override
      public void registerInterceptors(EjbDescriptor<?> ejbDescriptor, InterceptorBindings interceptorBindings) {
          if (interceptorBindings != null) {
              final Collection<Interceptor<?>> interceptors = interceptorBindings.getAllInterceptors();
  
              if (interceptors != null) {
                  for (Interceptor<?> interceptor : interceptors) {
                      final Set<Annotation> annotations = interceptor.getInterceptorBindings();
  
                      if (annotations != null) {
                          for (Annotation annotation : annotations) {
                              if (Transactional.class.equals(annotation.annotationType())) {
                                  // An NPE if ejbDescriptor is null will work just fine too
                                  throw new IllegalStateException(Tr.formatMessage(tc, "transactional.annotation.on.ejb.CWOWB2000E", annotation.toString(),
                                                                                   ejbDescriptor.getEjbName()));
                              }
                          }
                      }
                  }
  
                  EjbDescriptor<?> descriptor = ejbDescriptor;
                  WebSphereEjbDescriptor<?> webSphereEjbDescriptor = findWebSphereEjbDescriptor(descriptor);
                  J2EEName ejbJ2EEName = webSphereEjbDescriptor.getEjbJ2EEName();
  
                  interceptorRegistry.registerInterceptors(ejbJ2EEName, interceptorBindings);
              }
          }
      }
docs: Throw an exception if an interceptor for Transactional is registered