Package org.sonatype.nexus.proxy.storage

Examples of org.sonatype.nexus.proxy.storage.UnsupportedStorageOperationException


  }

  public void deleteItem(ProxyRepository repository, ResourceStoreRequest request)
      throws ItemNotFoundException, UnsupportedStorageOperationException, RemoteStorageException
  {
    throw new UnsupportedStorageOperationException("This is a mock, no deleting!");
  }
View Full Code Here


              + " is forbidden by Maven Repository policy. Because " + getId() + " is a "
              + getRepositoryPolicy().name() + " repository";

      log.info(msg);

      throw new UnsupportedStorageOperationException(msg);
    }
  }
View Full Code Here

  }

  public void storeItem(ProxyRepository repository, StorageItem item)
      throws UnsupportedStorageOperationException, RemoteStorageException
  {
    throw new UnsupportedStorageOperationException("This is a mock, no writing!");
  }
View Full Code Here

  @Override
  public void storeItem(final ProxyRepository repository, final StorageItem item)
      throws UnsupportedStorageOperationException, RemoteStorageException
  {
    if (!(item instanceof StorageFileItem)) {
      throw new UnsupportedStorageOperationException("Storing of non-files remotely is not supported!");
    }
    final StorageFileItem fileItem = (StorageFileItem) item;

    final ResourceStoreRequest request = new ResourceStoreRequest(item);
View Full Code Here

  @Override
  public void deleteItem(final ProxyRepository repository, final ResourceStoreRequest request)
      throws ItemNotFoundException, UnsupportedStorageOperationException, RemoteAccessException,
             RemoteStorageException
  {
    throw new UnsupportedStorageOperationException("This is a mock, no deleting!");
  }
View Full Code Here

  @Override
  public void storeItem(final ProxyRepository repository, final StorageItem item)
      throws UnsupportedStorageOperationException, RemoteAccessException, RemoteStorageException
  {
    throw new UnsupportedStorageOperationException("This is a mock, no writing!");
  }
View Full Code Here

TOP

Related Classes of org.sonatype.nexus.proxy.storage.UnsupportedStorageOperationException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.