com.gubutech.xload
Class XloadFileException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.servlet.ServletException
              extended bycom.gubutech.xload.XloadFileException
All Implemented Interfaces:
java.io.Serializable

public class XloadFileException
extends javax.servlet.ServletException

Signals that an XloadFile has been attempted to be moved or copied to a directory and a name collision occurred.

Since:
1.0
See Also:
Serialized Form

Constructor Summary
XloadFileException()
          Constructs an XloadFileException without detail message.
XloadFileException(java.lang.String msg)
          Constructs an instance of XloadFileException with the specified detail message.
 
Method Summary
 XloadFile getFile()
          Returns the XloadFile that was being copied or moved, that caused a file naming clash inside the new directory.
 
Methods inherited from class javax.servlet.ServletException
getRootCause
 
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

XloadFileException

public XloadFileException()
Constructs an XloadFileException without detail message.

Since:
1.0

XloadFileException

public XloadFileException(java.lang.String msg)
Constructs an instance of XloadFileException with the specified detail message.

Parameters:
msg - the detail message.
Since:
1.0
Method Detail

getFile

public XloadFile getFile()
Returns the XloadFile that was being copied or moved, that caused a file naming clash inside the new directory.

Returns:
Returns the file that was being copied or moved.
Since:
1.0