Class ToStringUtil
java.lang.Object
org.apache.tomcat.util.buf.ToStringUtil
Utility class used to provide String representations of objects. It is typically used in debug logging.
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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 ofClassNotFoundException
.
-
Method Details
-
classPathForCNFE
Generate a String representation of the class path for the given class loader and any parent class loaders to aid debugging ofClassNotFoundException
.- 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.
-