com.ptc.windchill.structconf
Class TargetFilesWriteProtectedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ptc.windchill.structconf.util.NestableException
              extended bycom.ptc.windchill.structconf.StructConfManagerException
                  extended bycom.ptc.windchill.structconf.PropagationException
                      extended bycom.ptc.windchill.structconf.TargetFilesWriteProtectedException
All Implemented Interfaces:
Serializable

public class TargetFilesWriteProtectedException
extends PropagationException

Thrown if a propagation request aborts midway and some files need to be restored from backups.

See Also:
Serialized Form

Field Summary
private  ArrayList writeProtectedFiles_
           
 
Fields inherited from class com.ptc.windchill.structconf.util.NestableException
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
(package private) TargetFilesWriteProtectedException(ArrayList write_protected_files)
           
 
Method Summary
private static String getWriteProtectedFileList(ArrayList list)
           
 File[] getWriteProtectedFiles()
          The target files that are not writeable.
 
Methods inherited from class com.ptc.windchill.structconf.util.NestableException
getCause, getFullMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

writeProtectedFiles_

private ArrayList writeProtectedFiles_
Constructor Detail

TargetFilesWriteProtectedException

TargetFilesWriteProtectedException(ArrayList write_protected_files)
Parameters:
write_protected_files - array of File
Method Detail

getWriteProtectedFileList

private static String getWriteProtectedFileList(ArrayList list)

getWriteProtectedFiles

public File[] getWriteProtectedFiles()
The target files that are not writeable.

Returns:
non-null array of files (possible zero-length)