| java.lang.Object java.lang.Throwable java.lang.Exception java.io.IOException javax.microedition.content.ContentHandlerException
ContentHandlerException | public class ContentHandlerException extends IOException (Code) | | A ContentHandlerException is thrown to report errors
specific to registration and invocation of content handlers.
Instances are immutable and thread safe.
|
Field Summary | |
final public static int | AMBIGUOUS The reason is AMBIGUOUS in a
ContentHandlerException when an ID does not
uniquely identify a single content handler application. | final public static int | NO_REGISTERED_HANDLER The reason is NO_REGISTERED_HANDLER in a
ContentHandlerException when there is no content handler
registered of the requested combination of
ID, type, suffix, and action. | final public static int | TYPE_UNKNOWN The reason is TYPE_UNKNOWN in a
ContentHandlerException when the type is not available. |
Constructor Summary | |
public | ContentHandlerException(String reason, int errcode) Constructs a ContentHandlerException with a reason
and error code. |
Method Summary | |
public int | getErrorCode() Returns the error code for the exception. |
AMBIGUOUS | final public static int AMBIGUOUS(Code) | | The reason is AMBIGUOUS in a
ContentHandlerException when an ID does not
uniquely identify a single content handler application.
|
NO_REGISTERED_HANDLER | final public static int NO_REGISTERED_HANDLER(Code) | | The reason is NO_REGISTERED_HANDLER in a
ContentHandlerException when there is no content handler
registered of the requested combination of
ID, type, suffix, and action.
|
TYPE_UNKNOWN | final public static int TYPE_UNKNOWN(Code) | | The reason is TYPE_UNKNOWN in a
ContentHandlerException when the type is not available.
|
|
|