net.artima.place
Class NoURLAvailableException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--net.artima.place.NoURLAvailableException

public class NoURLAvailableException
extends java.lang.RuntimeException

Thrown to indicate that the getURL() has been called on a Link, but the Link cannot be expressed in terms of a URL. A Link's getURL() method will throw this exception if and only if the Link's hasURL() returns false.

See Also:
Serialized Form

Constructor Summary
NoURLAvailableException()
          Constructs a NoURLAvailableException with no detail message.
NoURLAvailableException(java.lang.String s)
          Constructs a NoURLAvailableException with the specified detail message.
 
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

NoURLAvailableException

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

NoURLAvailableException

public NoURLAvailableException(java.lang.String s)
Constructs a NoURLAvailableException with the specified detail message.