org.dvb.dsmcc
Class ServiceXFRException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byorg.dvb.dsmcc.DSMCCException
                  extended byorg.dvb.dsmcc.ServiceXFRException
All Implemented Interfaces:
java.io.Serializable

public class ServiceXFRException
extends DSMCCException

A ServiceXFRException is thrown when a DSMCC Object can not be loaded in the current ServiceDomain but is available in an alternate ServiceDomain (i.e. for an object Carousel, the IOR of the object or one of its parent directories contains a Lite Option Profile Body). There is no implicit mounting by the implementation of the carousel that actually contain the object. This exception is not thrown if the Service Domain that actually contains the DSMCCObject is already mounted.

See Also:
Serialized Form

Constructor Summary
ServiceXFRException(byte[] NSAPAddress, java.lang.String pathName)
          Creates a ServiceXFRException object.
ServiceXFRException(Locator aService, int carouselId, java.lang.String pathName)
          Creates a ServiceXFRException object.
 
Method Summary
 ServiceXFRReference getServiceXFR()
          This method is used to get the alternate ServiceDomain which contains the object requested.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceXFRException

public ServiceXFRException(Locator aService,
                           int carouselId,
                           java.lang.String pathName)
Creates a ServiceXFRException object.

Parameters:
aService - Locator of the Service
carouselId - Carousel Identifier
pathName - pathName of the object in the alternate ServiceDomain

ServiceXFRException

public ServiceXFRException(byte[] NSAPAddress,
                           java.lang.String pathName)
Creates a ServiceXFRException object.

Parameters:
NSAPAddress - The NSAP Address of a ServiceDomain as defined in ISO/IEC 13818-6
pathName - pathName of the object in the alternate ServiceDomain
Method Detail

getServiceXFR

public ServiceXFRReference getServiceXFR()
This method is used to get the alternate ServiceDomain which contains the object requested.

Returns:
the address of an alternate ServiceDomain where the object can be found.