Class ResolveEndpointFailedException

All Implemented Interfaces:
Serializable

public class ResolveEndpointFailedException extends RuntimeCamelException
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 Details

    • ResolveEndpointFailedException

      public ResolveEndpointFailedException(@Nullable String uri, Throwable cause)
      Parameters:
      uri - the endpoint URI that could not be resolved
      cause - the cause of the failure
    • ResolveEndpointFailedException

      public ResolveEndpointFailedException(@Nullable String uri, String message)
      Parameters:
      uri - the endpoint URI that could not be resolved
      message - the detail message describing why the endpoint could not be resolved
    • ResolveEndpointFailedException

      public ResolveEndpointFailedException(@Nullable String uri)
      Parameters:
      uri - the endpoint URI that could not be resolved
  • Method Details

    • getUri

      public String getUri()