net.netheos.pcsapi.exceptions
Class CInvalidFileTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.netheos.pcsapi.exceptions.CStorageException
                  extended by net.netheos.pcsapi.exceptions.CInvalidFileTypeException
All Implemented Interfaces:
Serializable

public class CInvalidFileTypeException
extends CStorageException

Thrown when performing an operation on a folder when a blob is expected, or when operating on a blob and a folder is expected. Also thrown when downloading provider special files (eg google drive native docs).

See Also:
Serialized Form

Constructor Summary
CInvalidFileTypeException(CPath cpath, boolean blobExpected)
           
CInvalidFileTypeException(String message, CPath cpath, boolean blobExpected)
           
 
Method Summary
 CPath getPath()
           
 boolean isBlobExpected()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CInvalidFileTypeException

public CInvalidFileTypeException(String message,
                                 CPath cpath,
                                 boolean blobExpected)

CInvalidFileTypeException

public CInvalidFileTypeException(CPath cpath,
                                 boolean blobExpected)
Method Detail

getPath

public CPath getPath()

isBlobExpected

public boolean isBlobExpected()


Copyright © 2014. All Rights Reserved.