|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.opencms.ade.upload.CmsUploadException
public class CmsUploadException
This exception makes it possible to handle expected upload errors in another way than unexpected errors.
It is supposed to be used when an expected upload exception occurred.
For example we can send a message like "file size limit exceeded" so the user knows that he selected a file is responsible for the error. In other cases it does not make sense to confuse the user with error information he won't understand like an encoding error, ...
Constructor Summary | |
---|---|
CmsUploadException(String message)
Public constructor that sets the error message. |
|
CmsUploadException(String message,
Throwable cause)
Public constructor that sets the error message and the cause. |
Method Summary |
---|
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 |
---|
public CmsUploadException(String message)
message
- the messagepublic CmsUploadException(String message, Throwable cause)
message
- the messagecause
- the cause
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |