|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.nokia.mid.imagescale.ImageScalerException
public class ImageScalerException
Represents exceptions thrown by the ImageScaler classes. This class has a reason code optionally associated with it to provide more information about the exception that occurred.
Field Summary | |
---|---|
static int |
SCALE_IMAGE_DEST_FILE_IN_USE
dest file is in use. |
static int |
SCALE_IMAGE_GENERAL_ERROR
general error. |
static int |
SCALE_IMAGE_INVALID_ID
invalid request id |
static int |
SCALE_IMAGE_INVALID_PARAMETER
invalid parameter |
static int |
SCALE_IMAGE_SOURCE_FILE_NOT_FOUND
source file cannot be found. |
static int |
SCALE_IMAGE_UNSUPPORTED_FILE_TYPE
the file type cannot be supported |
Constructor Summary | |
---|---|
ImageScalerException()
Constructs a new instance of this class with its stack trace filled in. |
|
ImageScalerException(java.lang.String detailMessage)
Constructs a new instance of this class with its stacktrace and message filled in. |
|
ImageScalerException(java.lang.String detailMessage,
int reason)
Constructs a new instance of this class with its stacktrace, message, and reason filled in. |
Method Summary | |
---|---|
int |
getReason()
Returns the reason for the exception. |
Methods inherited from class java.lang.Throwable |
---|
getMessage, printStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int SCALE_IMAGE_SOURCE_FILE_NOT_FOUND
public static final int SCALE_IMAGE_DEST_FILE_IN_USE
public static final int SCALE_IMAGE_UNSUPPORTED_FILE_TYPE
public static final int SCALE_IMAGE_INVALID_ID
public static final int SCALE_IMAGE_INVALID_PARAMETER
public static final int SCALE_IMAGE_GENERAL_ERROR
Constructor Detail |
---|
public ImageScalerException()
public ImageScalerException(java.lang.String detailMessage)
public ImageScalerException(java.lang.String detailMessage, int reason)
Method Detail |
---|
public int getReason()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |