All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.ikor.sip.foundation.testkit.exception.UnsuspendedRouteException Maven / Gradle / Ivy

There is a newer version: 3.6.1
Show newest version
package de.ikor.sip.foundation.testkit.exception;

import de.ikor.sip.foundation.core.util.exception.SIPFrameworkException;
import de.ikor.sip.foundation.testkit.config.CamelContextLifecycleHandler;

/** Exception for unsuspended routes used in {@link CamelContextLifecycleHandler} */
public class UnsuspendedRouteException extends SIPFrameworkException {

  public UnsuspendedRouteException(String routeId) {
    super(
        String.format(
            "Route with route id %s can't be suspended. Shutting down the system.", routeId));
  }

  /**
   * Method for hiding stack trace in console
   *
   * @return Throwable
   */
  @Override
  public synchronized Throwable fillInStackTrace() {
    return this;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy