org.apache.felix.framework.searchpolicy
Class ResolveException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.felix.framework.searchpolicy.ResolveException
- All Implemented Interfaces:
- java.io.Serializable
public class ResolveException
- extends java.lang.Exception
This exception is thrown if a module cannot be resolved. The module
that failed to be resolved is recorded, along with the failed import target
identifier and version number. If the error was a result of a propagation
conflict, then the propagation error flag is set.
- See Also:
org.apache.felix.moduleloader.search.ImportSearchPolicy#validate(org.apache.felix.moduleloader.Module)
,
Serialized Form
Constructor Summary |
ResolveException(java.lang.String msg,
IModule module,
IRequirement req)
Constructs an exception with the specified message, module,
import identifier, import version number, and propagation flag. |
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 |
ResolveException
public ResolveException(java.lang.String msg,
IModule module,
IRequirement req)
- Constructs an exception with the specified message, module,
import identifier, import version number, and propagation flag.
getModule
public IModule getModule()
- Returns the module that was being resolved.
- Returns:
- the module that was being resolved.
getRequirement
public IRequirement getRequirement()
Copyright © 2011. All Rights Reserved.