javax.tv.service.selection
Class InvalidServiceComponentException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--javax.tv.service.selection.ServiceContextException
|
+--javax.tv.service.selection.InvalidServiceComponentException
- All Implemented Interfaces:
- java.io.Serializable
- public class InvalidServiceComponentException
- extends ServiceContextException
This exception is thrown when one or more service components are
not valid for usage in a particular context. If multiple service
components are simultaneously invalid, this exception reports
one of them.
- See Also:
- Serialized Form
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 |
InvalidServiceComponentException
public InvalidServiceComponentException(Locator component)
- Constructs an
InvalidServiceComponentException
with no detail message.
- Parameters:
component
- A locator indicating the offending service
component.
InvalidServiceComponentException
public InvalidServiceComponentException(Locator component,
java.lang.String reason)
- Constructs an
InvalidServiceComponentException
with
the specified detail message.
- Parameters:
component
- A locator indicating the offending service
component.reason
- The reason why this component is invalid.
getInvalidServiceComponent
public Locator getInvalidServiceComponent()
- Reports the offending service components.
- Returns:
- A locator indicating the service component
that caused the exception.
Copyright © 1998 - 2000 Sun Microsystems, Inc.