public class CmsUploadException
extends java.lang.RuntimeException
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, ...
构造器和说明 |
---|
CmsUploadException(java.lang.String message)
Public constructor that sets the error message.
|
CmsUploadException(java.lang.String message,
java.lang.Throwable cause)
Public constructor that sets the error message and the cause.
|
public CmsUploadException(java.lang.String message)
message
- the messagepublic CmsUploadException(java.lang.String message, java.lang.Throwable cause)
message
- the messagecause
- the cause