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 classAbstractHttpUploadException.HttpUploadErrorExceptionException thrown when http response returned after upload is not 200.static classAbstractHttpUploadException.HttpUploadIOExceptionException thrown when an unexpected exception occurred during the upload.
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractHttpUploadException(long fileSize, Slot slot, String message)protectedAbstractHttpUploadException(long fileSize, Slot slot, String message, Throwable wrappedThrowable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetFileSize()URLgetPutUrl()SlotgetSlot()-
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()
-
-