Class AbstractHttpUploadException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.jivesoftware.smackx.httpfileupload.AbstractHttpUploadException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AbstractHttpUploadException.HttpUploadErrorException
,AbstractHttpUploadException.HttpUploadIOException
public abstract class AbstractHttpUploadException extends IOException
An exception class to provide additional information in case of exceptions during file uploading.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractHttpUploadException.HttpUploadErrorException
Exception thrown when http response returned after upload is not 200.static class
AbstractHttpUploadException.HttpUploadIOException
Exception thrown when an unexpected exception occurred during the upload.
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractHttpUploadException(long fileSize, Slot slot, String message)
protected
AbstractHttpUploadException(long fileSize, Slot slot, String message, Throwable wrappedThrowable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getFileSize()
URL
getPutUrl()
Slot
getSlot()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AbstractHttpUploadException
protected AbstractHttpUploadException(long fileSize, Slot slot, String message)
-
AbstractHttpUploadException
protected AbstractHttpUploadException(long fileSize, Slot slot, String message, Throwable wrappedThrowable)
-
-
Method Detail
-
getFileSize
public long getFileSize()
-
-