code: public static ConnectionHandler register(final String id, 
                                               final StatementHandler handler) {
  
          if (handler == null) {
              throw new IllegalArgumentException("Invalid handler: " + handler);
          } // end of if
  
          return register(id, new ConnectionHandler.Default(handler));
      }
docs: Registers a connection handler.
  
  @param id Handler unique ID
  @param handler Connection handler
  @return Handler previously registered for |id|, or null if none
  @throws IllegalArgumentException if |id| or |handler| is null (or empty)
  @see #register(java.lang.String,acolyte.jdbc.ConnectionHandler)
  @see #unregister