ObjectDB ObjectDB

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