Class NoFactoryAvailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.camel.NoFactoryAvailableException
- All Implemented Interfaces:
Serializable
Thrown by the Camel
FactoryFinder mechanism when no implementation class can be located for a given service
URI.
The FactoryFinder scans the classpath for service descriptor files under
META-INF/services/org/apache/camel/ to discover pluggable implementations of Camel SPIs (components, data
formats, languages, dumpers, etc.). When the required JAR is absent from the classpath, or when the service
descriptor file is missing or misconfigured, this exception is thrown with the full service URI that could not be
resolved. It extends IOException so callers that use the raw I/O-based discovery path can catch it at
the right level; higher-level Camel code typically wraps it in a RuntimeCamelException for propagation across
unchecked API boundaries.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoFactoryAvailableException
- Parameters:
uri- the URI for which no factory class could be found
-
NoFactoryAvailableException
-
-
Method Details
-
getUri
-