Class ToStringUtil

java.lang.Object
org.apache.tomcat.util.buf.ToStringUtil

public class ToStringUtil extends Object
Utility class used to provide String representations of objects. It is typically used in debug logging.
  • Method Details

    • classPathForCNFE

      public static String classPathForCNFE(ClassLoader classLoader)
      Generate a String representation of the class path for the given class loader and any parent class loaders to aid debugging of ClassNotFoundException.
      Parameters:
      classLoader - The class loader to analyse
      Returns:
      A String representation of the class path. The format is undefined and may change in future point releases. The output includes new lines.