net.dpml.transit.artifact
Class ArtifactNotFoundException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byjava.net.ProtocolException
                  extended bynet.dpml.transit.TransitException
                      extended bynet.dpml.transit.artifact.ArtifactException
                          extended bynet.dpml.transit.artifact.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:
1.0.1
Author:
Digital Product Meta 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