simple.http.serve
Class LocateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by simple.http.serve.LocateException
All Implemented Interfaces:
java.io.Serializable

public class LocateException
extends java.io.IOException

The LocateException is thrown when the discovery of a resource by a Locator fails. This is used to indicate that either the resource could not be found or that it was found and its contents are not accessible.

Author:
Niall Gallagher
See Also:
Serialized Form

Constructor Summary
LocateException()
          This empty constructor is used if there is no explanation of the locating exception required.
LocateException(java.lang.String desc)
          This constructor is used if there is a description of the event that caused the exception required.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocateException

public LocateException()
This empty constructor is used if there is no explanation of the locating exception required.


LocateException

public LocateException(java.lang.String desc)
This constructor is used if there is a description of the event that caused the exception required.

Parameters:
desc - this is a description of the exception