toString() - Java Throwable's method

Method
java.lang.Throwable
String toString()

Returns a short description of this throwable. The result is the concatenation of:
  • the name of the class of this object
  • ": " (a colon and a space)
  • the result of invoking this object's getLocalizedMessage method
If getLocalizedMessage returns null, then just the class name is returned.
Returns:
a string representation of this throwable.
Since:
Java JDK1.0

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.