Examples of DirectoryDoesNotExistException


Examples of com.cloudloop.storage.exceptions.DirectoryDoesNotExistException

  public void copyTo( CloudStoreDirectory destinationDirectory ,
      TransferProgressObserver progressObserver )
  {
    if (!existsInStore( ))
    {
      throw new DirectoryDoesNotExistException( "Source directory '"
          + getPath( ).getAbsolutePath( )
          + "' does not exist in store '"
          + getParentStore( ).getCloudloopToken( ) + "'" );
    }
View Full Code Here

Examples of com.cloudloop.storage.exceptions.DirectoryDoesNotExistException

      TransferProgressObserver progressObserver )
    {
  assertObjectBelongsToStore( file );
  if ( !file.getParentDirectory( ).existsInStore( ) )
  {
      throw new DirectoryDoesNotExistException(
        "Error copying file '"
          + file.getPath( ).getAbsolutePath( )
          + "'. The parent directory of this file does not exist in the store. "
          + "Please create the directory "
          + file.getParentDirectory( ).getPath( )
View Full Code Here

Examples of com.cloudloop.storage.exceptions.DirectoryDoesNotExistException

   
    private void assertDirectoryExistsInStore( CloudStoreDirectory directory )
    {
  if ( !directory.existsInStore( ) )
  {
      throw new DirectoryDoesNotExistException( "Directory '"
        + directory.getPath( ).getAbsolutePath( )
        + "' does not exist in store '" + getCloudloopToken( )
        + "'." );
  }
    }
View Full Code Here

Examples of com.cloudloop.storage.exceptions.DirectoryDoesNotExistException

   
    private void assertFileExistsInStore( CloudStoreFile file )
    {
  if ( !file.existsInStore( ) )
  {
      throw new DirectoryDoesNotExistException( "File '"
        + file.getPath( ).getAbsolutePath( )
        + "' does not exist in store '" + getCloudloopToken( )
        + "'." );
  }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.