wjhk.jupload2.exception
Class JUploadInterrupted
java.lang.Object
java.lang.Throwable
java.lang.Exception
wjhk.jupload2.exception.JUploadInterrupted
- All Implemented Interfaces:
- Serializable
public class JUploadInterrupted
- extends Exception
This class is thrown in the DefaultFileUploadThread, when it detects
that the user clicked on the stop button. Using an exception allows to
interrupt the whole process. It's up to each method to close/free any
resource.
- Author:
- etienne_sf
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
JUploadInterrupted
public JUploadInterrupted(String detectedInMethod,
UploadPolicy uploadPolicy)
- The standard constructor for this class.
- Parameters:
detectedInMethod - The full name (with class) of the method that
creates this exception. Used to log all needed information.uploadPolicy - The current upload policy, used to log a message.