Class ExceptionHelper

java.lang.Object
org.apache.camel.support.ExceptionHelper

public class ExceptionHelper extends Object
Utilities for handling with Exception objects
  • Method Details

    • stackTraceToString

      public static String stackTraceToString(Throwable e)
      Dumps the stack trace from the given exception to a String
      Parameters:
      e - the exception to print the stack trace
      Returns:
      A string instance with the stack trace for the given exception