Class ResolveEndpointFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.camel.RuntimeCamelException
org.apache.camel.ResolveEndpointFailedException
- All Implemented Interfaces:
Serializable
Thrown when the
CamelContext fails to resolve a URI to an Endpoint, for example because the scheme is
unknown, the component is not on the classpath, or the URI contains invalid parameters.
The reported URI is sanitized (credentials are masked) before being included in the exception message.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionResolveEndpointFailedException(@Nullable String uri) ResolveEndpointFailedException(@Nullable String uri, String message) ResolveEndpointFailedException(@Nullable String uri, Throwable cause) -
Method Summary
Methods inherited from class RuntimeCamelException
wrapRuntimeCamelException, wrapRuntimeExceptionMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ResolveEndpointFailedException
-
ResolveEndpointFailedException
-
ResolveEndpointFailedException
- Parameters:
uri- the endpoint URI that could not be resolved
-
-
Method Details
-
getUri
-