Class ToStringUtil


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String classPathForCNFE​(java.lang.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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • classPathForCNFE

        public static java.lang.String classPathForCNFE​(java.lang.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.