public static void validate(SpaceURL spaceURL) throws Exception {
  if (_logger.isLoggable(Level.FINE)) {
    _logger.fine("attributesSpaceUrl  =  " + spaceURL);
  }
  try {
    validateURL(spaceURL);
  }
 catch (  SpaceURLValidationException e) {
    if (_logger.isLoggable(Level.FINE)) {
      _logger.fine("Exception while validating space URL: " + e.getMessage() + "\nSpace URL: "+ spaceURL);
    }
    throw e;
  }
}

public static void validate ( SpaceURL spaceURL ) throws Exception { if ( _logger . isLoggable ( Level . FINE ) ) { _logger . fine ( "attributesSpaceUrl  =  " + spaceURL ) ; } try { validateURL ( spaceURL ) ; } catch ( SpaceURLValidationException e ) { if ( _logger . isLoggable ( Level . FINE ) ) { _logger . fine ( "Exception while validating space URL: " + e . getMessage ( ) + "\nSpace URL: " + spaceURL ) ; } throw e ; } }
the method is used for valid the space url before finding it from space
