|
Java DTV API 1.3 18-Nov-2009 |
||||||||
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.io.IOException
com.sun.dtv.broadcast.BroadcastException
public class BroadcastException
All broadcast related exceptions MUST use this subclass of java.io.IOException
in order to make different reason easier to distinguish.
Field Summary | |
---|---|
static int |
REASON_INCONSISTENT_MESSAGE
This reason code is used when an inconsistent message is received from the broadcast stream. |
static int |
REASON_INVALID_OPERATION
This reason code is used if this operation is invalid. |
static int |
REASON_INVALID_PATH
This reason code is used if the requested path name does not exist in the broadcast stream. |
static int |
REASON_NONEXISTENT_OBJECT
This reason code is used if the requested object does not exist in the broadcast stream. |
static int |
REASON_OTHER
This reason code is used if no other reason code applies. |
static int |
REASON_TIMEOUT
This reason code is used if timeout occurs while reading from the broadcast stream. |
static int |
REASON_UNSUPPORTED
This reason code is used if this operation is not supported. |
Constructor Summary | |
---|---|
BroadcastException()
|
Method Summary | |
---|---|
int |
getReason()
Retrieves the reason of this exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int REASON_INCONSISTENT_MESSAGE
public static final int REASON_NONEXISTENT_OBJECT
public static final int REASON_INVALID_PATH
public static final int REASON_TIMEOUT
public static final int REASON_UNSUPPORTED
public static final int REASON_INVALID_OPERATION
public static final int REASON_OTHER
Constructor Detail |
---|
public BroadcastException()
Method Detail |
---|
public int getReason()
|
Java DTV API 1.3 18-Nov-2009 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |