org.sadun.util.polling
Class DirectoryPoller.AutomoveException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.sadun.util.polling.DirectoryPoller.AutomoveException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DirectoryPoller.AutomoveDeleteException
Enclosing class:
DirectoryPoller

public class DirectoryPoller.AutomoveException
extends java.lang.Exception

An exception raised by the poller when auto-move mode is enabled, but the move operation failed.

See Also:
Serialized Form

Method Summary
 java.io.File getDestination()
          Return the destination file
 java.io.File getOrigin()
          Return the file to be moved
 DirectoryPoller getPoller()
          Return the poller associated to this exception.
 
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
 

Method Detail

getPoller

public DirectoryPoller getPoller()
Return the poller associated to this exception.

Returns:
the poller associated to this exception.

getOrigin

public java.io.File getOrigin()
Return the file to be moved

Returns:
the file to be moved

getDestination

public java.io.File getDestination()
Return the destination file

Returns:
the destination file


Copyright © 1999, 2000 Cristiano Sadun. This software is released under GPL.