javax.tv.locator
Class MalformedLocatorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.tv.locator.MalformedLocatorException
All Implemented Interfaces:
Serializable

public class MalformedLocatorException
extends Exception

This exception is thrown to indicate that a malformed locator string has been used. Either no legal mapping could be determined for the specified string, or the string could not be parsed.

See Also:
Serialized Form

Constructor Summary
MalformedLocatorException()
          Constructs a MalformedLocatorException with no detail message.
MalformedLocatorException(String reason)
          Constructs a MalformedLocatorException with the specified 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

MalformedLocatorException

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


MalformedLocatorException

public MalformedLocatorException(String reason)
Constructs a MalformedLocatorException with the specified detail message.

Parameters:
reason - The reason the exception was raised.