net.aerith.misao.image
Class UnsupportedFileTypeException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--net.aerith.misao.image.UnsupportedFileTypeException
- public class UnsupportedFileTypeException
- extends java.lang.Exception
The UnsupportedFileTypeException
is an exception
thrown if the type of image file is unsupported.
- See Also:
- Serialized Form
Field Summary |
protected java.lang.String |
format
The image format name. |
protected java.lang.String |
operation
The operation not supported. |
protected java.net.URL |
url
The image URL. |
Fields inherited from class java.lang.Throwable |
backtrace,
detailMessage,
serialVersionUID |
Constructor Summary |
UnsupportedFileTypeException(java.net.URL url,
java.lang.String format,
java.lang.String operation)
Constructs an UnsupportedFileTypeException . |
Method Summary |
java.lang.String |
getMessage()
Gets the error message. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
printStackTrace,
printStackTrace,
printStackTrace,
printStackTrace0,
toString |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
url
protected java.net.URL url
- The image URL.
format
protected java.lang.String format
- The image format name.
operation
protected java.lang.String operation
- The operation not supported.
UnsupportedFileTypeException
public UnsupportedFileTypeException(java.net.URL url,
java.lang.String format,
java.lang.String operation)
- Constructs an
UnsupportedFileTypeException
.
- Parameters:
url
- the image URL.format
- the image format name.operation
- the operation not supported.
getMessage
public java.lang.String getMessage()
- Gets the error message.
- Overrides:
- getMessage in class java.lang.Throwable
- Returns:
- the error message.