Package org.apache.tomcat.util.buf
Class ToStringUtil
- java.lang.Object
-
- org.apache.tomcat.util.buf.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 ofClassNotFoundException
.
-
-
-
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 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.
-
-