|
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
com.sun.dtv.transport.ConditionalAccessDeniedException
public class ConditionalAccessDeniedException
This class is thrown when access is requested to information which is scrambled and to which access is not permitted by the security system.
Field Summary | |
---|---|
static int |
COMMERCIAL_DIALOG
user dialog needed for payment. |
static int |
FREE_PREVIEW_DIALOG
user dialog needed to explain about free preview. |
static int |
GEOGRAPHICAL_BLACKOUT
not allowed for geographical reasons. |
static int |
MATURITY_RATING
user does not have suitable maturity. |
static int |
MATURITY_RATING_DIALOG
user dialog needed for maturity. |
static int |
NO_ENTITLEMENT
user does not have an entitlement. |
static int |
NOT_POSSIBLE
access possible under certain conditions. |
static int |
NOT_POSSIBLE_TECHNICAL
not allowed for some technical reason. |
static int |
OTHER
Some other reason. |
static int |
POSSIBLE
access not possible. |
static int |
TECHNICAL_DIALOG
user dialog needed for technical purposes. |
Constructor Summary | |
---|---|
ConditionalAccessDeniedException()
Constructs a ConditionalAccessDeniedException with no
detail message. |
|
ConditionalAccessDeniedException(String s)
Constructs a ConditionalAccessDeniedException with the
specified detail message. |
|
ConditionalAccessDeniedException(String s,
int[] reasons,
ElementaryStream[] streams)
Constructs a ConditionalAccessDeniedException with the
specified detail message, reasons and streams. |
|
ConditionalAccessDeniedException(String s,
int reason,
Service service)
Constructs a ConditionalAccessDeniedException with the
specified detail message, reason and service. |
Method Summary | |
---|---|
int |
getReason(int index)
Returns the reason(s) why descrambling was not possible. |
Object[] |
getSources()
This method returns an array containing either a single Service object or a set of ElementaryStreams that could not be descrambled. |
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 POSSIBLE
public static final int NOT_POSSIBLE
public static final int COMMERCIAL_DIALOG
public static final int MATURITY_RATING_DIALOG
public static final int MATURITY_RATING
public static final int NO_ENTITLEMENT
public static final int FREE_PREVIEW_DIALOG
public static final int GEOGRAPHICAL_BLACKOUT
public static final int TECHNICAL_DIALOG
public static final int NOT_POSSIBLE_TECHNICAL
public static final int OTHER
Constructor Detail |
---|
public ConditionalAccessDeniedException()
ConditionalAccessDeniedException
with no
detail message.
public ConditionalAccessDeniedException(String s)
ConditionalAccessDeniedException
with the
specified detail message.
s
- the detail message.public ConditionalAccessDeniedException(String s, int reason, Service service)
ConditionalAccessDeniedException
with the
specified detail message, reason and service.
s
- the detail message.reason
- the reason.service
- the service.public ConditionalAccessDeniedException(String s, int[] reasons, ElementaryStream[] streams)
ConditionalAccessDeniedException
with the
specified detail message, reasons and streams.
s
- the detail message.reasons
- the reasons.streams
- the streams.Method Detail |
---|
public int getReason(int index) throws IndexOutOfBoundsException
index
- shall refer to the Service or one elementary stream in
the set returned by getSources().
IndexOutOfBoundsException
- This exception will be thrown where
index is beyond the size of the array returned by getSources.getSources()
public Object[] getSources()
|
Java DTV API 1.3 18-Nov-2009 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |