method
safeToString

String safeToString(
Object object
)

Safely convert a value to a String description.

The conversion is guaranteed to not throw, so it won't use the object's toString method.