com.scooterframework.common.exception
Class FileUploadException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.scooterframework.common.exception.GenericException
com.scooterframework.common.exception.FileUploadException
- All Implemented Interfaces:
- java.io.Serializable
public class FileUploadException
- extends GenericException
class FileUploadException records file upload related exceptions.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FileUploadException
public FileUploadException(java.lang.Throwable cause)
causedByFileSizeLimitExceeded
public boolean causedByFileSizeLimitExceeded()
- happens when maximum.total.bytes.per.upload.request limit is violated.
causedByRequestSizeLimitExceeded
public boolean causedByRequestSizeLimitExceeded()
- happens when maximum.bytes.per.uploaded.file limit is violated.
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage in class java.lang.Throwable