Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-927 (Maintenance Release)

javax.tv.service
Class SIRequestFailureType

java.lang.Object
  extended byjavax.tv.service.SIRequestFailureType

public class SIRequestFailureType
extends java.lang.Object

This class represents reason codes for failure of asynchronous SI retrieval requests. It is subclassed to provide the individual reason codes.

See Also:
SIRequestor.notifyFailure(javax.tv.service.SIRequestFailureType), SIRequest

Field Summary
static SIRequestFailureType CANCELED
          The reason generated when the SIRequest is canceled.
static SIRequestFailureType DATA_UNAVAILABLE
          The reason generated when the system cannot find the requested data.
static SIRequestFailureType INSUFFICIENT_RESOURCES
          The reason generated when the resources required to fulfill an asynchronous SI retrieval (such as a tuner, section filter, etc.) are unavailable.
static SIRequestFailureType UNKNOWN
          The reason for the failure is unknown.
 
Constructor Summary
protected SIRequestFailureType(java.lang.String name)
          Creates an SIRequestFailureType object.
 
Method Summary
 java.lang.String toString()
          Provides the string name of the type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CANCELED

public static final SIRequestFailureType CANCELED
The reason generated when the SIRequest is canceled.

See Also:
SIRequest.cancel()

INSUFFICIENT_RESOURCES

public static final SIRequestFailureType INSUFFICIENT_RESOURCES
The reason generated when the resources required to fulfill an asynchronous SI retrieval (such as a tuner, section filter, etc.) are unavailable. The application may attempt to release some resources and attempt the request again.


DATA_UNAVAILABLE

public static final SIRequestFailureType DATA_UNAVAILABLE
The reason generated when the system cannot find the requested data. This occurs when the requested data is not present in the transport stream, when the data is present on some transport/network but the SI database does not know about it, when the type of requested data is not supported by the broadcast environment, or when it is not possible to retrieve the requested SI element within a reasonable period of time.


UNKNOWN

public static final SIRequestFailureType UNKNOWN
The reason for the failure is unknown.

Constructor Detail

SIRequestFailureType

protected SIRequestFailureType(java.lang.String name)
Creates an SIRequestFailureType object.

Parameters:
name - The string name of this type (e.g., "CANCELED").
Method Detail

toString

public java.lang.String toString()
Provides the string name of the type. For the type objects defined in this class, the string name will be identical to the class variable name.

Returns:
The string name of the type.

JSR-927 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 927 specification.