net.dpml.transit
Class ArtifactNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.net.ProtocolException
                  extended by net.dpml.transit.TransitException
                      extended by net.dpml.transit.ArtifactException
                          extended by net.dpml.transit.ArtifactNotFoundException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
LinkNotFoundException

public class ArtifactNotFoundException
extends ArtifactException

Exception to indicate that an Artifact could not be located.

Version:
2.1.1
Author:
Digital Product Management Library
See Also:
Serialized Form

Constructor Summary
ArtifactNotFoundException(String message, URI artifact)
          Construct a new ArtifactNotFoundException instance.
 
Method Summary
 URI getURI()
          Returns the uri that could not be found.
 
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

ArtifactNotFoundException

public ArtifactNotFoundException(String message,
                                 URI artifact)
Construct a new ArtifactNotFoundException instance.

Parameters:
message - The detail message for this exception.
artifact - the subject artifact
Method Detail

getURI

public URI getURI()
Returns the uri that could not be found.

Returns:
the subject uri