javax.tv.service.selection
Class ServiceContextException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.tv.service.selection.ServiceContextException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InsufficientResourcesException, InvalidServiceComponentException

public class ServiceContextException
extends Exception

The base class for exceptions related to service contexts.

See Also:
Serialized Form

Constructor Summary
ServiceContextException()
          Constructs a ServiceContextException with no detail message.
ServiceContextException(String reason)
          Constructs a ServiceContextException with a detail message.
 
Method Summary
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceContextException

public ServiceContextException()
Constructs a ServiceContextException with no detail message.


ServiceContextException

public ServiceContextException(String reason)
Constructs a ServiceContextException with a detail message.

Parameters:
reason - The reason this exception was thrown.