net.dpml.transit.artifact
Class ArtifactNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.net.ProtocolException
net.dpml.transit.TransitException
net.dpml.transit.artifact.ArtifactException
net.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.1.0
- Author:
- Digital Product Meta Library
- See Also:
- Serialized Form
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 |
ArtifactNotFoundException
public ArtifactNotFoundException(String message,
URI artifact)
- Construct a new
ArtifactNotFoundException
instance.
- Parameters:
message
- The detail message for this exception.artifact
- the subject artifact
getURI
public URI getURI()
- Returns the uri that could not be found.
- Returns:
- the subject uri