|
OOP MimeParser Version 3.5 | ||||||||
| 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
com.bentofw.util.LargeImageException
public class LargeImageException
Thrown if the uploaded file is larger than the specified
maximum file.
If the width/height of the uploaded image file (JPEG, GIF or
PNG) is larger than the specified one, this exception will
be thrown.
| Constructor Summary | |
|---|---|
LargeImageException(int max_width,
int max_height,
int width,
int height,
java.lang.String filename)
The constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getFileName()
Return the file name to be uploaded. |
int |
getHeight()
Return the height of the uploaded image. |
int |
getMaximumHeight()
Return the maximum height to be allowed. |
int |
getMaximumWidth()
Return the maximum width to be allowed. |
java.lang.String |
getMessage()
Return the error message. |
int |
getWidth()
Return the width of the uploaded image. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LargeImageException(int max_width,
int max_height,
int width,
int height,
java.lang.String filename)
| Method Detail |
|---|
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic int getMaximumWidth()
public int getMaximumHeight()
public int getWidth()
public int getHeight()
public java.lang.String getFileName()
|
OOP MimeParser Version 3.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ALL CONTENTS COPYRIGHT 2005, OOP-Research Corporation. All rights reserved.
Any questions and comments are welcome to OOP-Research Corporation.