Class FelixPrettyPrinter

java.lang.Object
com.sun.enterprise.util.FelixPrettyPrinter

public class FelixPrettyPrinter extends Object
Tools for obtaining readable information from the BundleException
  • Constructor Details

    • FelixPrettyPrinter

      public FelixPrettyPrinter()
  • Method Details

    • prettyPrintExceptionMessage

      public static String prettyPrintExceptionMessage(String message)
      Prints exception messages from Felix bundle classloading in a more human readable way.
      Parameters:
      message - - error message from the exception
      Returns:
      multiline human readable string
    • findBundleIds

      public static List<Integer> findBundleIds(String message)
      Parameters:
      message - - error message from the exception
      Returns:
      list of bundle ids (are in square brackets in the message)