org.apache.geronimo.kernel.repository
Class MultipleMatchesException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.geronimo.kernel.repository.MultipleMatchesException
- All Implemented Interfaces:
- Serializable
public class MultipleMatchesException
- extends Exception
Indicates that you tried to resolve a partially-populated artifact to
a real artifact expecting one match but you got multiple matches.
Note there is a separate method to call if you expect multiple matches.
- See Also:
- Serialized Form
Method Summary |
Artifact |
getArtifact()
Gets the artifact used as a query argument that matched multiple real
artifacts available in the server. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
MultipleMatchesException
public MultipleMatchesException(Artifact query)
MultipleMatchesException
public MultipleMatchesException(Artifact query,
String message)
getArtifact
public Artifact getArtifact()
- Gets the artifact used as a query argument that matched multiple real
artifacts available in the server.
Copyright © 2006 Apache Software Foundation. All Rights Reserved.